presentation-application
v3.0.6
Published
The Augmented.js Next - Presentation Application Module.
Downloads
11
Maintainers
Readme
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
options
Object Options to pass
navigate
Navigate using the router
Parameters
launch
Launch using the router
Parameters
redirect
Redirect using the browser
Parameters
where
string Where to go
initialize
Initialize Event - adds any stylesheets registered
router
The router property of the application
registerMediator
Register a Mediator
Parameters
mediator
Mediator The mediator to register
deregisterMediator
Deregister a Mediator
Parameters
mediator
Mediator The mediator to deregister
mediators
All Mediators
Properties
mediators
array all Mediators
registerStylesheet
Register a stylesheet
Parameters
s
stylesheet
string URI of the stylesheet
deregisterStylesheet
Deregister a stylesheet
Parameters
s
stylesheet
string 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
stylesheets
array all stylesheets
setCurrentBreadcrumb
Sets the current breadcrumb
Parameters
getCurrentBreadcrumb
Gets the current breadcrumb
Returns object Returns the current breadcrumb
breadcrumbs
The breadcrumbs
Properties
breadcrumbs
array alls the breadcrumbs
title
The Window title
Properties
title
string title of the window