Skip to content

Instantly share code, notes, and snippets.

@stanusk
Last active March 25, 2018 12:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stanusk/9024156b193733cf0016f57b3196a754 to your computer and use it in GitHub Desktop.
Save stanusk/9024156b193733cf0016f57b3196a754 to your computer and use it in GitHub Desktop.
<e-tags *ngIf="something$ | async as something" class="some-descriptive-class another-descriptive-class" [tags]="whatever.tags"
[ngClass]="{'conditional-class': aCondition}" [limit]="42" [anInput]="imputValue" [anotherInput]="anotherValue"
(anOutput)="outputListener($event)" (anotherOutput)="anotherListener($event)" class="some-forgotten-class">
<h3 *ngIf="somethingElse" aDirective="Some text value for the directive" [ngClass]="{'conditional-class': aCondition}"
(anotherOutput)="anotherListener($event)" anotherDirective>
Some heading <span *ngIf="whatever.but.nested" class="yet-another-class">special <a [href]="whatever.but.nested.location">
{{whatever.but.nested.valueToDisplay}}</a></span> text
</h3>
</e-tags>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment