Augmented.js Presentation Application Module
- 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:
- A start method to kick off your application (stop as well).
- A router property
- mediator registration
- stylesheets
- breadcrumbs for tracking navigations
options
Object Options to pass
Navigate using the router
Launch using the router
Redirect using the browser
where
string Where to go
Initialize Event - adds any stylesheets registered
The router property of the application
Register a Mediator
mediator
Mediator The mediator to register
Deregister a Mediator
mediator
Mediator The mediator to deregister
All Mediators
mediators
array all Mediators
Register a stylesheet
s
stylesheet
string URI of the stylesheet
Deregister a stylesheet
s
stylesheet
string URI of the stylesheet
Attach registered stylesheets to the DOM
Replace stylesheets then attach registered stylesheets to the DOM
All Stylesheets
stylesheets
array all stylesheets
Sets the current breadcrumb
Gets the current breadcrumb
Returns object Returns the current breadcrumb
The breadcrumbs
breadcrumbs
array alls the breadcrumbs
The Window title
title
string title of the window