选项列表上的角度ui popover

时间:2016-07-28 21:49:15

标签: angularjs twitter-bootstrap angular-ui popover

我有一个偶尔长于容器宽度的选项列表;我正在尝试实现一个popover来向用户显示文本的整个宽度。当我检查页面上的元素时,会应用popover属性和类,但我没有看到任何弹出窗口。我正在使用angular ui

HTML

<div class="col-md-12">
     <label>Available Routines</label>
      <select size="8" style="width: 99%;">
         <option ng-repeat="item in itemList"
            uib-popover="item" popover-trigger="mouseenter">
                {{item}}
        </option>
     </select>
</div>

控制器

$scope.itemList = [
    "item1","item2","item3","item4","item5",
    "item6","item7","item8","item9","item10",
    "item11","item12","item13","item14","item15",
]

列表选择中的弹出窗口有限制吗?

0 个答案:

没有答案