ProAct.AutoPropertyProvider Class
src/js/properties/property_provider.js:318
Constructor for ProAct.AutoPropertyProvider
.
Provides ProAct.AutoProperty instances for fields pointing to functions.
ProAct.AutoPropertyProvider
is part of the proact-properties
module of ProAct.js.
Constructor
ProAct.AutoPropertyProvider
()
Methods
filter
-
object
-
property
-
meta
Used to check if this ProAct.AutoPropertyProvider
is compliant with the field and meta data.
Parameters:
-
object
ObjectThe object to which a new ProAct.AutoProperty instance should be provided.
-
property
StringThe field name of the object to turn into a ProAct.AutoProperty.
-
meta
String | ArrayMeta information to be used for filtering and configuration of the ProAct.AutoProperty instance to be provided.
Returns:
True if the value of object[property] a function.
provide
-
queueName
-
object
-
property
-
meta
Provides an instance of ProAct.AutoProperty.
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.AutoProperty instance should be provided.
-
property
StringThe field of the object to turn into a ProAct.AutoProperty.
-
meta
String | ArrayMeta information to be used for filtering and configuration of the ProAct.AutoProperty instance to be provided.
Returns:
A ProAct.AutoProperty instance provided by this provider.