angular-ui-bootstrap – 如何将Angular UI Typeahead对齐到右侧

前端之家收集整理的这篇文章主要介绍了angular-ui-bootstrap – 如何将Angular UI Typeahead对齐到右侧前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我在RTL语言网站(阿拉伯语)中使用angular-ui-bootstrap.默认情况下,Typeahead将所有结果对齐到左侧.如何改变它?

这在angular-ui-bootstrap网站中提到:

The $uibPosition service provides a set of DOM utilities used internally to absolute-position an element in relation to another element (tooltips,popovers,typeaheads etc…).

我无法理解.有什么例子吗?

解决方法

这对我有用:

.rtl .dropdown-menu{
     float:right;
     position:inherit;
  }

猜你在找的Angularjs相关文章