Class: AvenxPage

AvenxPage(initialState, computed, bridges, template, methods, componentRegistry)

AvenxPage is a specialized component that can host child components. It automatically mounts child components defined in its template via [data-avenx-comp].

Constructor

new AvenxPage(initialState, computed, bridges, template, methods, componentRegistry)

Parameters:
Name Type Description
initialState Object

Initial state.

computed Object

Computed properties.

bridges Object

Shared bridges.

template string

HTML template.

methods Object

Component methods.

componentRegistry
Source:

Classes

AvenxPage

Methods

unmount()

Unmounts the page and all child components.

Source:

update()

Updates the page and then mounts/updates child components.

Source: