Skip to content

Instantly share code, notes, and snippets.

@serenaf
Created November 7, 2017 11:51
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 serenaf/e2d55033a62369c67cf3f1e883c0b279 to your computer and use it in GitHub Desktop.
Save serenaf/e2d55033a62369c67cf3f1e883c0b279 to your computer and use it in GitHub Desktop.
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