Skip to main content
Version: 11.14.0

ShowBookmark

Deprecated

This directive is deprecated and will be removed in a future version.

Directive that handles the behavior of showing a bookmark for an article.

info

This directive listens to mouse enter and mouse leave events to determine when to show the bookmark. It also checks the user's settings to determine if the article is bookmarked.

Usage

// $event is a boolean value
<div showBookmark [article]="currentArticle" (showBookmark)="onShowBookmark($event)"></div>