dojox/mvc/getStateful (version 1.10)

Summary

Create a dojo/Stateful object from a raw value.

Recursively iterates the raw value given, and convert them to stateful ones.

Usage

getStateful(value,options);
Parameter Type Description
value Anything

The raw value.

options dojox/mvc/getStatefulOptions

The object that defines how model object should be created from plain object hierarchy.

Returns:Anything | undefined

The converted value.

See the dojox/mvc/getStateful reference documentation for more information.

Method Summary

Methods

getStatefulArray(a)

Returns the stateful version of the given array.

Parameter Type Description
a Anything[]

The array.

Returns:instance
getStatefulObject(o)

Returns the stateful version of the given object.

Parameter Type Description
o Object

The object.

Returns:instance
getStatefulValue(v)

Just returns the given value.

Parameter Type Description
v Anything
Returns:Anything
getType(v)

Returns the type of the given value.

Parameter Type Description
v Anything

The value.

Returns:string
Error in the documentation? Can’t find what you are looking for? Let us know!