Angular 自定义指令详解

1.命名:javascript      能够使用普通字符串,也能够使用驼峰法来命名一个指令,例如 firstDirective, 但在使用它时须要以 - 分割: first-directive。html 2.建立方式:java     Angularjs的指令建立有四种形式,好比建立的指令hello:angularjs (1)元素名(E):dom <hello></hello> (2)标签属性(
相关文章
相关标签/搜索