App – durandal/app
caution
The interface documentation for this module is incomplete. Declarations may be missing or invalid.
The app module controls app startup, plugin loading/configuration and root visual display.
- extends
EventSupport<...>
Variables
title
title: string = 'Application'
The title of your application.
Functions
start
start(): JQueryPromise<unknown>
Starts the application.
configurePlugins
configurePlugins(config, baseUrl?: string): void
Configures one or more plugins to be loaded and installed into the application.
- (param) config – Keys are plugin names. Values can be truthy, to simply install the plugin, or a configuration object to pass to the plugin. (param) baseUrl – The base url to load the plugins from.
setRoot
setRoot(root, transition?: string, applicationHost?: HTMLElement): void
Sets the root module/view for the application.
- (param) root – The root view or module.
- (param) transition – The transition to use from the previous root (or splash screen) into the new root.
- (param) applicationHost – The application host element. By default the id 'applicationHost' will be used.