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
optionsObject Options to pass
Navigate using the router
Launch using the router
Redirect using the browser
wherestring Where to go
Initialize Event - adds any stylesheets registered
The router property of the application
Register a Mediator
mediatorMediator The mediator to register
Deregister a Mediator
mediatorMediator The mediator to deregister
All Mediators
mediatorsarray all Mediators
Register a stylesheet
sstylesheetstring URI of the stylesheet
Deregister a stylesheet
sstylesheetstring URI of the stylesheet
Attach registered stylesheets to the DOM
Replace stylesheets then attach registered stylesheets to the DOM
All Stylesheets
stylesheetsarray all stylesheets
Sets the current breadcrumb
Gets the current breadcrumb
Returns object Returns the current breadcrumb
The breadcrumbs
breadcrumbsarray alls the breadcrumbs
The Window title
titlestring title of the window