Skip to content

Instantly share code, notes, and snippets.

@stanusk

stanusk/simpler.html

Created Nov 12, 2017
Embed
What would you like to do?
<e-tags
*ngIf="article$ | async as article"
class="left-corners-sharp no-bottom-margin"
[tags]="article.tags"
[ngClass]="{'edit': isEditing}"
[limit]="3"
[isEditing]="isEditing"
[enableShowAll]="true"
(removeTag)="onRemoveTag($event)"
(addTag)="onAddTag($event)"
class="tags-main"
>
<h3
*ngIf="isEditing"
eTooltip="Click to stop editing tags"
[ngClass]="{'edit': isEditing}"
(click)="setTagsEditing(false)"
clickable
>
edit
<span
*ngIf="article.tags.subgroup"
class="highlight"
>
special
<a
[href]="article.tags.subgroup.location"
>
{{article.tags.subgroup.name}}
</a>
</span>
tags
</h3>
</e-tags>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment