cpr.controls.Tree$Accessbility

Hierarchy

Index

Properties
Name Type Description
item Accessbility
Methods
Name Return Type Description
aria String Get the corresponding ARIA attribute value.
bind IBindFactory Bind to a specific ARIA property.
getBindContext BindContext
removeAria Removes set accessibility properties.
unbind Unbinds to a specific ARIA property.

Properties

item
type Accessbility

Methods

aria(property)
declaring typeAccessbility
Get the corresponding ARIA attribute value.
Parameters
name type description
property String ARIA attribute name from which to get the value. The "aria-" prefix can be omitted.
return String The corresponding ARIA attribute value.
aria(property, value)
declaring typeAccessbility
Specifies the value of a specific ARIA attribute.
Parameters
name type description
property String The ARIA attribute name to assign a value to. The "aria-" prefix can be omitted.
value String The attribute value to specify.
aria()
declaring typeAccessbility
Get all specified ARIA properties in JSON format.
return AriaSet
aria(set)
declaring typeAccessbility
Specify multiple ARIA properties at once.
Parameters
name type description
set AriaSet A JSON object with the property name keys and values ​​to specify.
bind(propertyName)
declaring typeAccessbility
Bind to a specific ARIA property.
Parameters
name type description
propertyName String The name of the property to bind to. The "aria-" prefix can be omitted.
return IBindFactory A binding factory for that attribute.
getBindContext()
declaring typeAccessbility
return BindContext
removeAria(propertyName)
declaring typeAccessbility
Removes set accessibility properties.
Parameters
name type description
propertyName String property name
unbind(propertyName)
declaring typeAccessbility
Unbinds to a specific ARIA property.
Parameters
name type description
propertyName String The name of the property to unbind. The "aria-" prefix can be omitted.