onclick property
JSFunction?
get
onclick
A function that is called back when the menu item is clicked. This is not
available inside of a service worker; instead, they should register a
listener for contextMenus.onClicked
.
Implementation
JSFunction? get onclick => _wrapped.onclick;
set
onclick
(JSFunction? v)
Implementation
set onclick(JSFunction? v) {
_wrapped.onclick = v;
}