Home Manual Reference Source Test Repository

References

Class Summary

Static Public Class Summary
public

Container class.

Function Summary

Static Public Function Summary
public

Clears all saved containers.

public

Compose a container from containers or DOM elements.

public

createContainer(domElement: Element, initialState: Object, reducers: ...Function): Container

Create a new Container instance with optional initial state and n reducers.

public

Generates a unique hex ID for Container instances.

public

fetchContainer(arg: String | Element | Object): class Container

Fetch a saved container by container ID, DOM element, or by a container instance.

public

Execute a function for each container.

public

getAllContainers(): MapIterator<String, Container>

Returns an interator for all containers.

public

Returns immutable private stardux data for a given input.

public

Creates a or returns a new Container instance from a given DOM element.

public

realignContainerTree(container: Container, recursive: Boolean, forceOrphanRestoration: Boolean)

Realign container DOM tree by removing containers not found in container DOM tree.

public

Removes a container from the internal tree.

public

replaceDOMElement(container: Container, domElement: Element): Container

Replace container element with another.

public

restoreContainerFromJSON(json: Object, initialState: Object, reducers: ...Function): Container

Create or restore a Container instance from a JSON object with an optional state object a reducers.

public

restoreOrphanedTree(container: Container | Element, recursive: Boolean)

Restores orphaned children containers still attached to a container.

public

Save a container to the known containers map.

public

traverseContainer(container: Container, fn: Function, scope: Object)

Traverse a container's tree recursively.

Variable Summary

Static Public Variable Summary
public

The action type dispatched by the update() method.