enabled([enabled])

Class: UIComponent.

Description:

Sets or gets component enabled property.

Parameters:

Name Type Description

[enabled]

boolean

Returns:

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

Type: boolean | this