Interface App<AppStoreType>

Defines an application that has views associated with it.

Type Parameters

Hierarchy

  • App

Implemented by

Properties

Properties

id: string

Returns

a unique identifier for an application. This id must be unique as it's used in loading and maintaining the state of an application.

messages?: string[]

The messages the application is listening for.

store?: AppStoreType

Returns

An instance of a new store for the application.

views?: Record<string, AppView>

Returns

the app views associated with this application. Each application view has a unique key that's combined with the application id to form a unique key. For example, if the application id is finUi.myApp and id is myView then the computed id is finUi.myApp.myView. Any localized name for the view will be computed from the overall id for view with a name postfix. Therefore the name for this view would be looked up as finUi.myApp.myView.name.

Generated using TypeDoc