Additional positions & RTL support for Twitter Bootstrap Tooltip.
Bootstrap 2 & 3 support !
When "auto-dir" is specified and page direction is RTL (right-to-left language), it will automatically reverse the horizontal placement of the tooltip.
For example, if placement is auto-dir right
, the tooltip will display to the right (default direction is "ltr"), otherwise it will display to the left if the overall document direction is right-to-left (html
tag has attribute dir="rtl"
).
<a href="#" data-toggle="tooltip" data-placement="auto-dir right" title="Tooltip on right (left in RTL)">Tooltip</a>