Created by: ashensis
The BTD support is provided for Tooltip and Popover widgets since only these ones create their HTML markup dynamically. (Referenced issue #20378 (closed)) Bootstrap widgets would provide BTD basing on 'textdir' option been passed to widget constructor. Alternatively BTD may be specified decoratively as 'data-textdir' attribute of corresponding html element.
Allowed values of 'textDir' attribute are: "ltr" (left-to-right), "rtl" (right-to- left) and "contextual" (meaning that either 'ltr' or 'rtl' value is used depending on the first strong(Arabic/Hebrew or English) character of string been displayed.
This PR complements the #19555 (closed) which provides the GUI mirroring for Bootstrap widgets. As a whole, current feature alongside with #19555 (closed) constitute the full fledged Bidi support for Bootstrap widgets.