Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Use the new markAsRead action
<div>
<a href="{{item.externalUrl}}">{{item.title}}</a>
<div>
<span>{{item.points}} points by {{item.user}} {{item.timeAgo}} </span>
<span {{action markAsRead}} class='hide-button test__item-delete-button'>
{{fa-icon "eye-slash"}}
</span>
</div>
{{#link-to 'item' item.id}} {{item.commentsCount}} Comments{{/link-to}}
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment