Widgets
Samples
Demos
Forum
Services
Documentation
adjust
attachEvent
bind
blockEvent
blur
callEvent
define
destructor
detachEvent
disable
enable
focus
getChildViews
getFormView
getInputNode
getNode
getParentView
getTopParentView
getValue
hasEvent
hide
isEnabled
isVisible
mapEvent
queryView
refresh
render
resize
setBottomText
setValue
setValueHere
show
sync
toggle
unbind
unblockEvent
validate
Start
API Reference
ui.switch
Methods
focus
sets focus to the control
void
focus
();
Example
webix.
ui
(
{
view
:
"button"
,
id
:
"b1"
,
value
:
"Save"
}
)
;
$$
(
"b1"
)
.
focus
(
)
;
See also
API
blur
Articles
Keyboard Events. Focusing. Navigation
Back to top