国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

angular.js - How to get the css attributes in the class in the custom tag in angularjs
黃舟
黃舟 2017-05-15 16:56:49
0
2
697

How to get the css attribute in the class in the custom tag in angularjs

黃舟
黃舟

人生最曼妙的風(fēng)景,竟是內(nèi)心的淡定與從容!

reply all(2)
迷茫

Two choices, one is

 document.getElementsBy

Id("your_id");
Then peel the garlic, of course getElementsByClassName belongs to the same solution as this.

The second one, if it is in the directive, it is also possible

angular.element(this)

Then peel the garlic...

Ty80

This is not possible. I found a way. You can have a scope in the custom tag. Use $rootScope to get the attributes and then share them, so that they can be used outside the custom tag.

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