Show:

Constructor for ProAct.SimplePropertyProvider.

Provides ProAct.Property instances for fields of simple types - strings, numbers, booleans.

ProAct.SimplePropertyProvider is part of the proact-properties module of ProAct.js.

Constructor

ProAct.SimplePropertyProvider

()

Item Index

Methods

Properties

Methods

filter

(
  • object
  • property
  • meta
)
Boolean

Used to check if this ProAct.SimplePropertyProvider is compliant with the field and meta data.

Parameters:

Returns:

Boolean:

True if the value of object[property] not undefined or null as well as object, array ot function.

provide

(
  • queueName
  • object
  • property
  • meta
)
ProAct.Property

Provides an instance of ProAct.Property.

Parameters:

  • queueName String

    The 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 Object

    The object to which a new ProAct.Property instance should be provided.

  • property String

    The field of the object to turn into a ProAct.Property.

  • meta String | Array

    Meta information to be used for filtering and configuration of the ProAct.Property instance to be provided.

Returns:

ProAct.Property:

A ProAct.Property instance provided by this provider.

Properties

constructor

ProAct.SimplePropertyProvider final

Reference to the constructor of this object.