Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TransitionManager

Controls which Transition between pages to use

Hierarchy

Index

Constructors

constructor

Properties

_arg

_arg: [string, ITransition][]

app

app: IApp

The App the ManagerItem is attached to

config

config: ICONFIG

The Config of the App the ManagerItem is attached to

emitter

emitter: EventEmitter

The EventEmitter of the App the ManagerItem is attached to

key

key: any

The key to where ManagerItem is stored in an AdvancedManager

manager

The AdvancedManager the ManagerItem is attached to

transitions

transitions: Manager<string, ITransition>

Methods

add

boot

  • boot(...args: any): any
  • Called on start of Service

    Parameters

    • Rest ...args: any

    Returns any

get

  • Parameters

    • key: string

    Returns ITransition

has

  • has(key: string): boolean
  • Parameters

    • key: string

    Returns boolean

init

  • init(...args: any): any
  • Called before the start of a Service, represents a constructor of sorts

    Parameters

    • Rest ...args: any

    Returns any

initEvents

  • initEvents(): void
  • Initialize events

    Returns void

install

  • install(): void
  • On Service install set Config

    Returns void

register

set

start

stop

  • stop(): void
  • Stop Service

    Returns void

stopEvents

  • stopEvents(): void
  • Stop events

    Returns void

uninstall

  • uninstall(): any
  • Run before the ManagerItem has been unregistered

    Returns any

unregister

  • unregister(): void
  • Basically removes a ManagerItem, in order to recover the ManagerItem, it needs to be re-added to an AdvancedManager

    Returns void

Generated using TypeDoc