Show:

F2.App Class

The App Class is an optional class that can be namespaced onto the F2\Apps namespace. The F2 Docs has more information on the usage of the App Class.

Defined in: src\classes\app.js:3

Constructor

F2.App (
  • appConfig
  • appContent
  • root
)

Parameters:


Methods

Name Description
destroy ( )

An optional destroy function that will automatically be called when F2.removeApp() and subsequently the F2.Constants.AppHandlers.APP_DESTROY AppHandler.

init ( )

An optional init function that will automatically be called when F2.registerApps() is called.

Methods

destroy ( )

An optional destroy function that will automatically be called when F2.removeApp() and subsequently the F2.Constants.AppHandlers.APP_DESTROY AppHandler.


init ( )

An optional init function that will automatically be called when F2.registerApps() is called.