Adapters

Type class

Functions that modify an element's setting values each time they are read.

Click here for more info

Sources

This information about Adapters is provided for reference only and is not available through exported packages and thus should not be imported or used on its own.

Inheritance

Adapters does not extend any other symbol.

Adapters is not extended by any other symbol.

Settings

Adapters does not have any settings.

Private settings

Adapters does not have any private settings.

Properties

Adapters does not have any properties.

Methods

add(

key: Key,
callback: ( value: [""], target: E, key: Key) => [""]

)

#

Returns IDisposer

Adds a function that modifies the value of setting key each time it is read.

Click here for more info

constructor(

entity: E

)

#

Returns Adapters

disable(

key: Key

)

#

Returns void

Turns off all adapters for setting key without removing them.

@since 5.1.0

enable(

key: Key

)

#

Returns void

Turns the adapters for setting key back on after disable().

@since 5.1.0

remove(

key: Key

)

#

Returns void

Removes all adapters for setting key.

@since 5.1.0

Events

Adapters does not have any events.