Options
All
  • Public
  • Public/Protected
  • All
Menu

The App class starts the entire process, it controls all managers and all services

Hierarchy

Index

Constructors

constructor

  • Parameters

    Returns App

Properties

Protected canResize

canResize: boolean = true

Protected canScroll

canScroll: boolean = true

config

config: ICONFIG

The current Configuration's for the App

emitter

emitter: EventEmitter

An instance of an EventEmitter

services

services: ServiceManager

An instance of the ServiceManager

Methods

Protected _ready

  • _ready(): void
  • Returns void

Protected _resize

  • _resize(): void
  • Returns void

Protected _scroll

  • _scroll(): void
  • Returns void

add

  • Shortcuts for adding Services

    Parameters

    Returns App

boot

  • Initialize and boot all Services

    Returns App

emit

  • Shortcuts to the App EventEmitter emit method

    Parameters

    Returns App

get

  • Shortcuts for getting Services

    Parameters

    • key: string

    Returns Service

off

  • Shortcuts to the App EventEmitter off method

    Parameters

    Returns App

on

  • Shortcuts to the App EventEmitter on method

    Parameters

    Returns App

register

  • Create new instances of the ServiceManager, EventEmitter and the configurations

    Parameters

    Returns App

set

  • Shortcuts for setting Services

    Parameters

    Returns App

stop

  • Stops all Services and clears the even emitter of all events and listeners

    Returns App

Generated using TypeDoc