onCreated property
EventStream<OnCreatedEvent>
get
onCreated
Fired when a bookmark or folder is created.
Implementation
EventStream<OnCreatedEvent> get onCreated =>
$js.chrome.bookmarks.onCreated.asStream(($c) => (
String id,
$js.BookmarkTreeNode bookmark,
) {
return $c(OnCreatedEvent(
id: id,
bookmark: BookmarkTreeNode.fromJS(bookmark),
));
}.toJS);