Constructor
new Attribute(value) → {Object}
The Attribute class has a list of Observable objects and validates them against a validator
Parameters:
| Name | Type | Description |
|---|---|---|
value |
* | to be observed and validated |
- Source:
- See:
-
- Observable for more information
Returns:
- Type
- Object
Methods
(inner) setValidator(validate)
Function uses a callback function to determinate if the val is valid
Parameters:
| Name | Type | Description |
|---|---|---|
validate |
callback function used to evaluate an expression |