mituri

ng html attributes

Nov 18th, 2020 (edited)
217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. HTML attributes
  2.  
  3. If a tag has more than one attribute it should be spaced out into multiple lines (the first one should have not attribute)
  4. Attributes should be ordered in the following sequence:
  5.  
  6. -Structural directives (e.g. *ngIf)
  7.  
  8. -Other angular directives (e.g. (click) or [attr])
  9.  
  10. -Standard HTML attributs (e.g. class or src)
Advertisement
Add Comment
Please, Sign In to add comment