New to Kendo UI for Angular? Start a free 30-day trial
Represents the Base ToolBar Tool component for Angular.
Extend this class to create custom tools.
toolbar-tool
|
---|
Determines if the tool can be focused.
If the returned value is false , the tool will not be part of the keyboard navigation.
|
Returns | |
---|
boolean
|
true if the tool should take part in keyboard navigation.
|
|
|
---|
Called when the tool is focused.
The method accepts as argument the original browser event, which can be a KeyboardEvent , MouseEvent or FocusEvent .
|
Parameters | | |
---|
ev?
|
Event
|
This is the event that caused the tool to be focused.
|
|
|
---|
Called when the tool is focused and one of the arrow keys is pressed.
The returned boolean value determines whether the ToolBarComponent will move the focus to the next/previous ToolBarToolComponent
(see example).
|
Parameters | | |
---|
ev
|
KeyboardEvent
|
The last pressed arrow key
|
|
Returns | |
---|
boolean
|
a boolean value determines whether the focus will move to the next/previous component.
|
|