ProAct.ObjectPropertyProvider Class
src/js/properties/property_provider.js:394
Constructor for ProAct.ObjectPropertyProvider.
Provides ProAct.ObjectProperty instances for fields pointing to objects, different from arrays or functions.
ProAct.ObjectPropertyProvider
is part of the proact-properties module of ProAct.js.
Constructor
ProAct.ObjectPropertyProvider
()
Methods
filter
-
object
-
property
-
meta
Used to check if this ProAct.ObjectPropertyProvider
is compliant with the field and meta data.
Parameters:
-
object
ObjectThe object to which a new ProAct.ObjectProperty instance should be provided.
-
property
StringThe field name of the object to turn into a ProAct.ObjectProperty.
-
meta
String | ArrayMeta information to be used for filtering and configuration of the ProAct.ObjectProperty instance to be provided.
Returns:
True if the value of object[property] an object, different from array or function.
provide
-
queueName
-
object
-
property
-
meta
Provides an instance of ProAct.ObjectProperty.
Parameters:
-
queueName
StringThe name of the queue all the updates should be pushed to.
If this parameter is null/undefined the default queue of flow is used.
-
object
ObjectThe object to which a new ProAct.ObjectProperty instance should be provided.
-
property
StringThe field of the object to turn into a ProAct.ObjectProperty.
-
meta
String | ArrayMeta information to be used for filtering and configuration of the ProAct.ObjectProperty instance to be provided.
Returns:
A ProAct.ObjectProperty instance provided by this provider.