3.0.6 • Published 2 years ago

presentation-application v3.0.6

Weekly downloads
19
License
Apache-2.0
Repository
github
Last release
2 years ago

presentation-application

Augmented.js Presentation Application Module

API

Table of Contents

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

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

  • uri string The URI of the breadcrumb
  • name string The name of the breadcrumb

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
3.0.6

2 years ago

3.0.5

3 years ago

3.0.4

4 years ago

3.0.3

4 years ago

3.0.2

4 years ago

3.0.1

4 years ago

3.0.0

4 years ago

2.8.4

4 years ago

2.8.3

5 years ago

2.8.2

5 years ago

2.8.1

5 years ago

2.8.0

5 years ago

2.7.0

5 years ago

2.6.0

5 years ago

2.5.6

5 years ago

2.5.5

6 years ago

2.5.4

6 years ago

2.5.2

6 years ago