focused([value])

Class: RadioButton. Method inherited from UIComponent.

Description:

If value is provided, it makes component to get or loose focus, otherwise returns boolean indicating if it has focus or not.

Parameters:

Name Type Description

[value]

boolean

true to get focus, false to loose focus (if it has focus), usually by switching focus to next component.

Returns:

If value is provided, then this is returned, otherwise boolean value is returned.

Type: boolean | this