Reference Source
public class | source

BindingLoader

Static Method Summary

Static Public Methods
public static

load(arg_id: string, arg_runtime: RuntimeBase, arg_component: Component, arg_binding_cfg: Immutable.Map | undefined): BindingStream | array

Load and apply a component binding configuration.

public static

normalize_objects(arg_runtime: RuntimeBase, arg_component: Component, arg_selectors: array, arg_dom_types: array | string): array

Normalize an array of objects selectors in an array of objects.

Constructor Summary

Public Constructor
public

constructor(): nothing

Creates an instance of BindingLoader.

Static Public Methods

public static load(arg_id: string, arg_runtime: RuntimeBase, arg_component: Component, arg_binding_cfg: Immutable.Map | undefined): BindingStream | array source

Load and apply a component binding configuration.

Params:

NameTypeAttributeDescription
arg_id string

binding identifier.

arg_runtime RuntimeBase

client runtime.

arg_component Component

component instance.

arg_binding_cfg Immutable.Map | undefined

component binding configuration.

Return:

BindingStream | array

public static normalize_objects(arg_runtime: RuntimeBase, arg_component: Component, arg_selectors: array, arg_dom_types: array | string): array source

Normalize an array of objects selectors in an array of objects.

Params:

NameTypeAttributeDescription
arg_runtime RuntimeBase

client runtime.

arg_component Component

component instance.

arg_selectors array

selectors strings array.

arg_dom_types array | string

selected items types strings array or single string (default "dom").

Return:

array

objects|strings array.

Public Constructors

public constructor(): nothing source

Creates an instance of BindingLoader.

Return:

nothing