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:
-
objectObjectThe object to which a new ProAct.AutoProperty instance should be provided.
-
propertyStringThe field name of the object to turn into a ProAct.AutoProperty.
-
metaString | 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:
-
queueNameStringThe name of the queue all the updates should be pushed to.
If this parameter is null/undefined the default queue of flow is used.
-
objectObjectThe object to which a new ProAct.AutoProperty instance should be provided.
-
propertyStringThe field of the object to turn into a ProAct.AutoProperty.
-
metaString | 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.
proact.js