Home Reference Source Repository
import KeyedApi from 'f.lux/src/KeyedApi.js'
public class | source

KeyedApi

API implementation for properties that support keyed access to child properties.

See:

Constructor Summary

Public Constructor
public

constructor(property: *)

Method Summary

Public Methods
public
public

addProperty(name: *, property: *, automount: *): *

public

addPropertyShader(name: *, shader: *, initialState: *, automount: *): *

public

addPropertyType(name: *, stateType: *): *

public

clear()

public

delete(key: *): *

public

entries(): *

public

filter(callback: *, context: *): *

public

get(key: *): *

public

has(key: *): *

public

impl(): *

public

isActive(): *

public

keys(): *

public

keysArray(): *

public

removeProperty(name: *)

public

set(key: *, value: *)

public

shadow(): *

public

size(): *

public

values(): *

public

Public Constructors

public constructor(property: *) source

Params:

NameTypeAttributeDescription
property *

Public Methods

public [Symbol.iterator](): * source

Return:

*

public addProperty(name: *, property: *, automount: *): * source

Params:

NameTypeAttributeDescription
name *
property *
automount *

Return:

*

public addPropertyShader(name: *, shader: *, initialState: *, automount: *): * source

Params:

NameTypeAttributeDescription
name *
shader *
initialState *
automount *

Return:

*

public addPropertyType(name: *, stateType: *): * source

Params:

NameTypeAttributeDescription
name *
stateType *

Return:

*

public clear() source

public delete(key: *): * source

Params:

NameTypeAttributeDescription
key *

Return:

*

public entries(): * source

Return:

*

public filter(callback: *, context: *): * source

Params:

NameTypeAttributeDescription
callback *
context *

Return:

*

public get(key: *): * source

Params:

NameTypeAttributeDescription
key *

Return:

*

public has(key: *): * source

Params:

NameTypeAttributeDescription
key *

Return:

*

public impl(): * source

Return:

*

public isActive(): * source

Return:

*

public keys(): * source

Return:

*

public keysArray(): * source

Return:

*

public removeProperty(name: *) source

Params:

NameTypeAttributeDescription
name *

public set(key: *, value: *) source

Params:

NameTypeAttributeDescription
key *
value *

public shadow(): * source

Return:

*

public size(): * source

Return:

*

public values(): * source

Return:

*

public valuesArray(): * source

Return:

*