ng-transclude as: element vs attribute

后端 未结 1 1188
滥情空心
滥情空心 2021-01-20 15:42

I want to create a wrapper directive that would serve as the frame for a notification widget in a list. In that frame I want to transclude later some specific content based

相关标签:
1条回答
  • 2021-01-20 16:17

    Only recently (since this pull request) ngTransclude directive supports usage as element.

    You are probably using angular with version < 1.3 where ngTransclude used as element is not supported - the primary reason for this being IE8 support.

    0 讨论(0)
提交回复
热议问题