Represents an interactive element inside a GridCell. It allows for pausing grid navigation to
interact with the widget.
element
HTMLElementA reference to the host element.
active
anyWhether the widget is currently active (focused).
id
anyA unique identifier for the widget.
widgetType
anyThe type of widget, which determines how it is activated.
disabled
anyWhether the widget is disabled.
focusTarget
anyThe target that will receive focus instead of the widget.
onActivate
anyEmits when the widget is activated.
onDeactivate
anyEmits when the widget is deactivated.
tabindex
anyThe tabindex override.
isActivated
Signal<boolean>Whether the widget is activated.
activate
voidActivates the widget.
voiddeactivate
voidDeactivates the widget.
voidDescription
Represents an interactive element inside a GridCell. It allows for pausing grid navigation to
interact with the widget.
When the user interacts with the widget (e.g., by typing in an input or opening a menu), grid navigation is temporarily suspended to allow the widget to handle keyboard events.
<td ngGridCell> <button ngGridCellWidget>Click Me</button></td>