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
fireBeforeChangeEvent
(
key
,
e
)
key
<String>
The attribute's name.
e
<Obj>
The event object to pass to handlers.
void
fireChangeEvent
(
key
,
e
)
key
<String>
The attribute's name.
e
<Obj>
The event object to pass to the handlers.
Any
get
(
key
)
key
<String>
The attribute whose value will be returned.
Any
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
register
(
key
,
map
)
key
<String>
The attribute's name
map
<Object>
A key-value map containing the
attribute's properties.
private
void
resetAttributeConfig
(
key
)
key
<String>
The attribute's name.
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
setAttributes
(
map
,
silent
)
map
<Object>
A key-value map of attributes
silent
<Boolean>
Whether or not to suppress change events