Properties
isBooted
isBooted: boolean
isInitialised
isInitialised: boolean
Static Protected _instance
Static defaults
defaults: any
Methods
booted
- booted(fn: Function): void
emit
-
Parameters
-
event: string
-
Rest ...args: any[]
init
-
Parameters
-
Default value opts: any = {}
off
-
Parameters
-
event: string
-
listener: Function
on
-
Parameters
-
event: string
-
listener: Function
once
-
Parameters
-
event: string
-
listener: Function
Object literals
timers
timers: object
construct
construct: null
The Application class is the main class initialising and booting all other components, plugins, etc
var app:packadic.Application = packadic.Application.instance app.DEBUG = true; app.init({ customConfigVariable: 'asdf' }); app.boot().then(function(app:packadic.Application){ // Application booted $('someElement').superDuperPlugin({ }); });