An observable property set is an object that can contain a number of observable properties.
The V$.cf2.OPSet mixin class defines the following methods.
Returns the named property. If the property does not exist, then it returns null.
Parameter | Description | Type |
---|---|---|
name | The name of the property to retrieve. | String |
Creates the named property. The current set is the owner of the new property.
Parameter | Description | Type |
---|---|---|
name | The name of the property to add. | String |
options | A set of options that determine how the property is created. See the description of the options parameter in cf2:ObservableProperty for details. | Map |
results | The optional output creation results. Refer to the description of the results parameter in cf2:ObservableProperty for further information. | Map |
Adds the property using the specified name. The name and the owner of the added property are not affected, i.e. they are the same as they were when the property was originally added to its owning component. It is an error if a property with the same name already exists.
This method is not intended for use by custom JavaScript.
Parameter | Description | Type |
---|---|---|
name | The name of the property to add. | String |
Property | The property to add. | String |