Reference Source
public class | source

BoundDom

Extends:

js/base/component/rendered_dom.js~RenderedDom → BoundDom

Direct Subclass:

StatedDom

Constructor Summary

Public Constructor
public

constructor(arg_runtime: RuntimeBase, arg_state: Immutable.Map, arg_log_context: string): nothing

Creates an instance of Component.

Member Summary

Public Members
public
public
Private Members
private

_bindings: {}

private

Method Summary

Public Methods
public

init_bindings(): nothing

Init bindings.

public

load(arg_state: Immutable.Map | undefined): nothing | Promise

Load and apply a component configuration.

public

unload(): nothing

Unload a component configuration.

Public Constructors

public constructor(arg_runtime: RuntimeBase, arg_state: Immutable.Map, arg_log_context: string): nothing source

Creates an instance of Component.

Params:

NameTypeAttributeDescription
arg_runtime RuntimeBase

client runtime.

arg_state Immutable.Map

component initial state.

arg_log_context string

context of traces of this instance (optional).

Return:

nothing

Public Members

public is_bound_dom: boolean source

public store_unsubscribe: * source

Private Members

private _bindings: {} source

private _is_loaded: boolean source

Public Methods

public init_bindings(): nothing source

Init bindings.

Return:

nothing

public load(arg_state: Immutable.Map | undefined): nothing | Promise source

Load and apply a component configuration.

Params:

NameTypeAttributeDescription
arg_state Immutable.Map | undefined

component state to load (optional).

Return:

nothing | Promise

public unload(): nothing source

Unload a component configuration.

Return:

nothing