Class: ToolbarAuralView

Drupal.toolbar.ToolbarAuralView(options)

new ToolbarAuralView(options)

Backbone view for the aural feedback of the toolbar.

Parameters:
Name Type Description
options object

Options for the view.

Properties
Name Type Description
strings object

Various strings to use in the view.

Source:

Extends

  • Backbone.View

Methods

onActiveTrayChange(model, tray)

Announces a changed active tray.

Parameters:
Name Type Description
model Drupal.toolbar.ToolbarModel

The toolbar model in question.

tray HTMLElement

The new value of the tray attribute in the model.

Source:

onOrientationChange(model, orientation)

Announces an orientation change.

Parameters:
Name Type Description
model Drupal.toolbar.ToolbarModel

The toolbar model in question.

orientation string

The new value of the orientation attribute in the model.

Source: