Advertisement
Guest User

Untitled

a guest
May 24th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. <!-- projects only elements having the attribute "someAttribute" ex: <p someAttribute></p> -->
  2. <ng-content select="[someAttribute]"></ng-content>
  3.  
  4. <!-- projects only divs having the attribute "someAttribute" -->
  5. <ng-content select="div[someAttribute]"></ng-content>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement