亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

angular.js - angularjs directive issue
滿天的星座
滿天的星座 2017-05-15 16:51:45
0
1
726

I have a doubt when using the command. If I have a select plug-in, I currently write it in the command and get the option data of the controller through the scope. But when the select triggers the event, different methods will be executed. . If this instruction is used in different places, do I need to write multiple instructions to distinguish different methods? Or write an instruction and then execute a different method somewhere? Are there any cases? Thanks

滿天的星座
滿天的星座

reply all(1)
小葫蘆

See below: angular-smart-chartist directive plug-in. In the example given, multiple references to the directive appear on the same page, instead of writing multiple different directives.

In fact, the directive uses 'scope' to obtain a separate scope for it, making it possible to reuse it

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template