Class: ComputedRegistry

ComputedRegistry(computedopt)

Registry for computed property definitions.

Constructor

new ComputedRegistry(computedopt)

Parameters:
Name Type Attributes Description
computed object <optional>

An object containing computed property definitions (expressions).

Source:

Classes

ComputedRegistry

Members

computed :object

Type:
  • object
Source:

Methods

all() → {object}

Returns all registered computed property definitions.

Source:
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.

Source:
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.

Source:
Returns:
Type
boolean

keys() → {Array:.<string:>}

Returns the keys of all registered computed properties.

Source:
Returns:
Type
Array:.<string:>