Nutrient Web SDK

ReferenceEventsBookmarksCreateEvent

Type Alias BookmarksCreateEvent

This event is emitted when new bookmarks are created. The event includes the list of created bookmarks.

Type Alias
Type Signature
type BookmarksCreateEvent = NutrientViewer.Immutable.List<NutrientViewer.Bookmark>

Example

Get the list of created bookmarks.

instance.addEventListener("bookmarks.create", (bookmarks: BookmarksCreateEvent) => {
console.log(bookmarks.toJS());
});

See Also