gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-04 05:03:57 29 4
gpt4 key购买 nike

下拉菜单在 Angular-UI-Bootstrap 中不起作用?使用 Bootstrap-3 CSS

以下是代码。链接Click me for a dropdown出现。但不会在点击时切换。怎么了?

<!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>

最佳答案

截至about 10/1/13 , 是的,它确实!

看起来甚至是讨厌的Accordion & Collapse issues也已解决。

关于twitter-bootstrap - AngularUI/Bootstrap 是否支持 twitter-bootstrap 3?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18205329/

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com