ProAct.ProxyPropertyProvider Class
src/js/properties/property_provider.js:470
Constructor for ProAct.ProxyPropertyProvider.
Provides ProAct.ProxyProperty instances for fields that should point to properties.
ProAct.ProxyPropertyProvider is part of the proact-properties module of ProAct.js.
Constructor
ProAct.ProxyPropertyProvider
()
Methods
filter
-
object -
property -
meta
Used to check if this ProAct.ProxyPropertyProvider is compliant with the meta data.
Parameters:
-
objectObjectThe object to which a new ProAct.ProxyProperty instance should be provided.
-
propertyStringThe field name of the object to turn into a ProAct.ProxyProperty.
-
metaProAct.PropertyIf the meta is present and of type ProAct.Property, it becomes the target property of the ProAct.ProxyProperty that will be provided.
Returns:
True if meta argument is present and is instance of ProAct.Property.
provide
-
queueName -
object -
property -
meta
Provides an instance of ProAct.ProxyProperty.
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.ProxyProperty instance should be provided.
-
propertyStringThe field of the object to turn into a ProAct.ProxyProperty.
-
metaProAct.PropertyThe target ProAct.Property of the ProAct.ProxyProperty to be created.
Returns:
A ProAct.ProxyProperty instance provided by this provider.
proact.js