AngularUI / Bootstrap是否支持twitter-bootstrap 3?

前端之家收集整理的这篇文章主要介绍了AngularUI / Bootstrap是否支持twitter-bootstrap 3?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
下拉菜单在Angular-UI-Bootstrap中不起作用?使用Bootstrap-3 CSS

以下是代码.链接点击我的下拉列表显示.但是不要在点击时切换.哪里不对?

<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="css/bootstrap.min.css">
<script>function DropdownCtrl($scope) {
 $scope.items = [
  "The first choice!","And another choice for you.","but wait! A third!"
 ];
}
</script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.0.1/angular.min.js"></script><script type="text/javascript" src="js/ui-bootstrap-tpls-0.5.0.min.js"></script><script type="text/javascript" src="js/dropdownToggle.js"></script>
</head>
<body>                  
<li ng-controller="DropdownCtrl" class="dropdown">
   <a href='#' class="dropdown-toggle"> Click me for a dropdown </a>
    <ul class="dropdown-menu">
          <li ng-repeat="choice in items"><a>{{choice}}</a>
          </li> 
        </ul>
</li>
</body>
</html>

解决方法

Angular-UI / Bootstrap不支持Bootstrap 3(尚未).

您可以在331742上跟踪问题

原文链接:https://www.f2er.com/bootstrap/234131.html

猜你在找的Bootstrap相关文章