Home > widget-integration > PredictiveBundleController > getKeydownActions
PredictiveBundleController.getKeydownActions() method
Returns keyboard actions delegated from a predictive bundle root.
Override to adjust keyboard interactions without rewriting bindRoot().
Signature:
protected getKeydownActions(root: HTMLElement, blockType: string): DOMActionDefinition[];
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
root |
HTMLElement |
DOM root receiving delegated events. |
|
blockType |
string |
Source block type used to resolve modal behavior. |
Returns:
Keyboard action definitions for the root.