sets focus to a thumb of a Slider control
focus(extra?: boolean): void;
Parameters:extra: boolean
- optional, if a Slider control is in the range mode, true will set focus to the second thumbExample
// sets focus to the thumb;
// if the range mode is activated, sets focus to the first thumb
form.getItem("slider").focus();
// sets focus to the second thumb if the range mode is activated
form.getItem("slider").focus(true);
Change log:
added in v7.2
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4