angular.js - 怎么用angularjs做出下面的效果?
PHP中文网
PHP中文网 2017-05-15 17:13:00
0
2
463


点击系统管理后展开出现下面的用户管理...等

PHP中文网
PHP中文网

认证高级PHP讲师

reply all(2)
淡淡烟草味

This is not a problem with Angular.
It should be considered a style problem.
Add the .active class to the parent element when clicked
.list{diplay:none}
.active .list{display:block}

小葫芦

You can use angular’s ​​attribute directive to achieve this, there are specific examples on the official website

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!