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:
-
object
ObjectThe object to which a new ProAct.ProxyProperty instance should be provided.
-
property
StringThe field name of the object to turn into a ProAct.ProxyProperty.
-
meta
ProAct.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:
-
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.ProxyProperty instance should be provided.
-
property
StringThe field of the object to turn into a ProAct.ProxyProperty.
-
meta
ProAct.PropertyThe target ProAct.Property of the ProAct.ProxyProperty to be created.
Returns:
A ProAct.ProxyProperty instance provided by this provider.