阅读背景:

使用可变元素类型创建指令

来源:互联网 

I'm trying to create a directive that will change the html element type (h1/h2/h3) by using a drop down selector of "Large", "Medium", "Small". I want it to also retain attributes on the element. I have created a fiddle of this example: I'm trying to create a directive that will chan




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: