Class: Application

.Presentation. Application


new Application()

Presentation Application - extension of Augmented.Application

Add registration of mediators to the application, breadcrumbs, and stylesheet registration

Source:

Extends

  • Augmented.Application

Methods


<static> attachStylesheets()

Attach registered stylesheets to the DOM

Source:

<static> deregisterMediator(mediator)

Deregister a Mediator

Parameters:
Name Type Description
mediator Augmented.Presentation.Mediator

The mediator to deregister

Source:

<static> deregisterStylesheet(stylesheet)

Deregister a stylesheet

Parameters:
Name Type Description
stylesheet string

URI of the stylesheet

Source:

<static> getBreadcrumbs()

Get all the breadcrumbs

Source:
Returns:

Returns alls the breadcrumbs

Type
array

<static> getCurrentBreadcrumb()

Gets the current breadcrumb

Source:
Returns:

Returns the current breadcrumb

Type
object

<static> getMediators()

Get all Mediators

Source:
Returns:

Returns all Mediators

Type
array

<static> initialize()

Initialize Event - adds any stylesheets registered

Source:

<static> registerMediator(mediator)

Register a Mediator

Parameters:
Name Type Description
mediator Augmented.Presentation.Mediator

The mediator to register

Source:

<static> registerStylesheet(stylesheet)

Register a stylesheet

Parameters:
Name Type Description
stylesheet string

URI of the stylesheet

Source:

<static> replaceStylesheets()

Replace stylesheets then attach registered stylesheets to the DOM

Source:

<static> setCurrentBreadcrumb(uri, name)

Sets the current breadcrumb

Parameters:
Name Type Description
uri string

The URI of the breadcrumb

name string

The name of the breadcrumb

Source: