presentation-application v3.0.6
presentation-application
Augmented.js Presentation Application Module
API
Table of Contents
- Application
Application
Extends CoreApplication
Presentation Application - extension of Augmented.Application\</br/> Add registration of mediators to the application, breadcrumbs, and stylesheet registration The Application is a container for the 'app'. This allows control of the flow application init, routing, and starting. Applications can include API to add app-globals like datastores, and mediators. Applications contain a few built-in items:
Parameters
optionsObject Options to pass
navigate
Navigate using the router
Parameters
launch
Launch using the router
Parameters
redirect
Redirect using the browser
Parameters
wherestring Where to go
initialize
Initialize Event - adds any stylesheets registered
router
The router property of the application
registerMediator
Register a Mediator
Parameters
mediatorMediator The mediator to register
deregisterMediator
Deregister a Mediator
Parameters
mediatorMediator The mediator to deregister
mediators
All Mediators
Properties
mediatorsarray all Mediators
registerStylesheet
Register a stylesheet
Parameters
sstylesheetstring URI of the stylesheet
deregisterStylesheet
Deregister a stylesheet
Parameters
sstylesheetstring URI of the stylesheet
attachStylesheets
Attach registered stylesheets to the DOM
replaceStylesheets
Replace stylesheets then attach registered stylesheets to the DOM
stylesheets
All Stylesheets
Properties
stylesheetsarray all stylesheets
setCurrentBreadcrumb
Sets the current breadcrumb
Parameters
getCurrentBreadcrumb
Gets the current breadcrumb
Returns object Returns the current breadcrumb
breadcrumbs
The breadcrumbs
Properties
breadcrumbsarray alls the breadcrumbs
title
The Window title
Properties
titlestring title of the window