void
configureAttribute
(
key
,
map
,
init
)
key <String>
The attribute's name.
map <Object>
A key-value map of attribute properties
init <Boolean>
Whether or not this should become the intial config.
void
void
fireBeforeChangeEvent
(
key
,
e
)
key <String>
The attribute's name.
e <Obj>
The event object to pass to handlers.
void
void
fireChangeEvent
(
key
,
e
)
key <String>
The attribute's name.
e <Obj>
The event object to pass to the handlers.
void
void
get
(
key
)
key <String>
The attribute whose value will be returned.
void
private
object
getAttributeConfig
(
key
)
key <String>
The attribute's name
object
Array
getAttributeKeys
(
)
Array
void
refresh
(
key
,
silent
)
key <String | Array>
The attribute(s) to refresh
silent <Boolean>
Whether or not to suppress change events
void
void
register
(
key
,
map
)
key <String>
The attribute's name
map <Object>
A key-value map containing the
attribute's properties.
void
private
void
resetAttributeConfig
(
key
)
key <String>
The attribute's name.
void
Boolean
resetValue
(
key
,
silent
)
key <String>
The name of the attribute
silent <Boolean>
Whether or not to suppress change events
Boolean
Boolean
set
(
key
,
value
,
silent
)
key <String>
The name of the attribute
value <Any>
The value to apply to the attribute
silent <Boolean>
Whether or not to suppress change events
Boolean
void
setAttributeConfig
(
key
,
map
,
init
)
key <String>
The attribute's name.
map <Object>
A key-value map of attribute properties
init <Boolean>
Whether or not this should become the intial config.
void
void
setAttributes
(
map
,
silent
)
map <Object>
A key-value map of attributes
silent <Boolean>
Whether or not to suppress change events
void