State
(
)
(
)
object
void
add
(
name
,
key
,
val
)
name
<String>
The name of the item.
key
<String>
The name of the property.
val
<Any>
The value of the property.
void
addAll
(
name
,
o
)
name
<String>
The name of the item.
o
<Object>
A hash of property/value pairs.
Any
get
(
name
,
key
)
name
<String>
The name of the item
key
<String>
Optional. The property value to retrieve.
Any
Object
getAll
(
name
)
name
<String>
The name of the item
Object
void
remove
(
name
,
key
)
name
<String>
The name of the item.
key
<String>
The property to remove.
void
removeAll
(
name
,
o
)
name
<String>
The name of the item.
o
<Object|Array>
Collection of properties to delete. If not provided, the entire item is removed.