setFocus()
sets focus on an Input control by its ID
setFocus(id: string | number): void;
Parameters:
id: string | number
- the ID of an Input control
Example
toolbar.setFocus("2");
Change log:
added in v8.0
Related article: Input
sets focus on an Input control by its ID
id: string | number
- the ID of an Input controlExample
toolbar.setFocus("2");
added in v8.0
Related article: Input