AngularJS Directive Restrict A vs E

后端 未结 7 1711
萌比男神i
萌比男神i 2020-12-12 11:43

I\'m working in a small team, building in AngularJS and trying to maintain some basic standards & best practices; especially given we\'re relatively new with Angular.

7条回答
  •  北荒
    北荒 (楼主)
    2020-12-12 12:01

    One of the pitfalls as I know is IE problem with custom elements. As quoted from the docs:

    3) you do not use custom element tags such as (use the attribute version instead)

    4) if you do use custom element tags, then you must take these steps to make IE 8 and below happy

    
      
        
          
        
        
          ...
        
      
    

提交回复
热议问题