furo-ui5-context-menu-item #
@furo/ui5 v1.18.0
import '@furo/ui5/src/subcomponents/furo-ui5-context-menu-item.js';
exports FuroUi5ContextMenuItem js
exports <furo-ui5-context-menu-item>
custom-element-definition
superclass LitElement
mixes FBP
Summary: context menu item
Description #
furo-ui5-context-menu-item
is a helper component for furo-ui5-context-menu
.
It is not intended for direct usage
Attributes and Properties #
icon #
default: 'border'
focused #
focused reflects
Boolean
focused state
disabled #
disabled reflects
Boolean
disabled state
Events #
mousefocus #
at-mousefocus
→ index
Fired when hovered with mouse
opensub-requested #
at-opensub-requested
→ menu: this.menuitem, initiator: this
Fired when submenu should be opened
item-selected #
at-item-selected
→ item
Fired when item was selected
Methods #
bindData #
bindData(menuNode `` ) ⟹ void
`` → fn-bind-data
Bind a single menu node with a menu.Menuitem
signature.
- menuNode
index #
index(i `` ) ⟹ void
`` → fn-index
store the index for mouseover focus
- i
setFocused #
setFocused() ⟹ void
*
→
fn-set-focused
mark item as focused
unsetFocused #
unsetFocused() ⟹ void
*
→
fn-unset-focused
mark item as unfocused