This event is emitted when new bookmarks are created. The event includes the list of created bookmarks.
Get the list of created bookmarks.
instance.addEventListener("bookmarks.create", (bookmarks: BookmarksCreateEvent) => { console.log(bookmarks.toJS());}); Copy
instance.addEventListener("bookmarks.create", (bookmarks: BookmarksCreateEvent) => { console.log(bookmarks.toJS());});
NutrientViewer.EventName.BOOKMARKS_CREATE
This event is emitted when new bookmarks are created. The event includes the list of created bookmarks.