Skip to content

IApplication

Defined in: core/interfaces/IApplication.ts:26

Extends

  • Application

Type Parameters

D extends DataSchema = DataSchema

C extends ActionContext = ActionContext

A extends Action = Action

Properties

actionContext

actionContext: C

Defined in: core/interfaces/IApplication.ts:49


appName

readonly appName: string

Defined in: core/interfaces/IApplication.ts:56


appVersion

readonly appVersion: string | number

Defined in: core/interfaces/IApplication.ts:57


assets

assets: IAssetsPlugin

Defined in: core/interfaces/IApplication.ts:36


audio

audio: IAudioManagerPlugin

Defined in: core/interfaces/IApplication.ts:42


center

readonly center: Point

Defined in: core/interfaces/IApplication.ts:34


config

config: Partial<AppConfig<D>>

Defined in: core/interfaces/IApplication.ts:31


controls

controls: IControls

Defined in: core/interfaces/IApplication.ts:46


data

data: IDataAdapter<D>

Defined in: core/interfaces/IApplication.ts:48


env

readonly env: Record<string, string>

Defined in: core/interfaces/IApplication.ts:32


exec

exec: ICoreFunctions

Defined in: core/interfaces/IApplication.ts:60


focus

focus: IFocusManagerPlugin

Defined in: core/interfaces/IApplication.ts:40


func

func: ICoreFunctions

Defined in: core/interfaces/IApplication.ts:59


i18n

i18n: Ii18nPlugin

Defined in: core/interfaces/IApplication.ts:43


input

input: IInputPlugin

Defined in: core/interfaces/IApplication.ts:45


keyboard

keyboard: IKeyboardPlugin

Defined in: core/interfaces/IApplication.ts:39


manifest

manifest: undefined | string | AssetsManifest

Defined in: core/interfaces/IApplication.ts:35


onPause

onPause: Signal<() => void>

Defined in: core/interfaces/IApplication.ts:50


onResume

onResume: Signal<() => void>

Defined in: core/interfaces/IApplication.ts:51


paused

paused: boolean

Defined in: core/interfaces/IApplication.ts:54


popups

popups: IPopupManagerPlugin

Defined in: core/interfaces/IApplication.ts:41


resizer

resizer: IResizerPlugin

Defined in: core/interfaces/IApplication.ts:44


scenes

scenes: ISceneManagerPlugin

Defined in: core/interfaces/IApplication.ts:37


signal

signal: ICoreSignals

Defined in: core/interfaces/IApplication.ts:58


size

readonly size: Size

Defined in: core/interfaces/IApplication.ts:33


store

store: IStore

Defined in: core/interfaces/IApplication.ts:47


webEvents

webEvents: IWebEventsPlugin

Defined in: core/interfaces/IApplication.ts:38

Methods

action()

action(action, data?): void

Defined in: core/interfaces/IApplication.ts:64

Parameters

action

A

data?

any

Returns

void


actions()

actions(action): ActionSignal

Defined in: core/interfaces/IApplication.ts:62

Parameters

action

A

Returns

ActionSignal


getPlugin()

getPlugin<T>(name, debug?): T

Defined in: core/interfaces/IApplication.ts:72

Type Parameters

T extends IPlugin

Parameters

name

string

debug?

boolean

Returns

T


initialize()

initialize(config): Promise<IApplication<D, C, A>>

Defined in: core/interfaces/IApplication.ts:68

Parameters

config

Partial<AppConfig<D>>

Returns

Promise<IApplication<D, C, A>>


isActionActive()

isActionActive(action): boolean

Defined in: core/interfaces/IApplication.ts:66

Parameters

action

A

Returns

boolean


pause()

pause(): void

Defined in: core/interfaces/IApplication.ts:52

Returns

void


postInitialize()

postInitialize(): Promise<void>

Defined in: core/interfaces/IApplication.ts:70

Returns

Promise<void>


resume()

resume(): void

Defined in: core/interfaces/IApplication.ts:53

Returns

void


sendAction()

sendAction(action, data?): void

Defined in: core/interfaces/IApplication.ts:65

Parameters

action

A

data?

any

Returns

void


setContainer()

setContainer(container): void

Defined in: core/interfaces/IApplication.ts:74

Parameters

container

HTMLElement

Returns

void