Constructor
new ComputedRegistry(computedopt)
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
computed |
object |
<optional> |
An object containing computed property definitions (expressions). |
Classes
Members
computed :object
Type:
- object
Methods
all() → {object}
Returns all registered computed property definitions.
Returns:
- Type
- object
get(key) → {string|undefined}
Returns the expression for a given computed property key.
Parameters:
| Name | Type | Description |
|---|---|---|
key |
string | The key to retrieve. |
Returns:
- Type
- string | undefined
has(key) → {boolean}
Checks if a computed property with the given key exists.
Parameters:
| Name | Type | Description |
|---|---|---|
key |
string | The key to check. |
Returns:
- Type
- boolean
keys() → {Array:.<string:>}
Returns the keys of all registered computed properties.