Class: ToolbarAuralView

Drupal.toolbar. ToolbarAuralView

new Drupal.toolbar.ToolbarAuralView(options)

Backbone view for the aural feedback of the toolbar.

Name Type Description
options object

Options for the view.

Name Type Description
strings object

Various strings to use in the view.

Extends

  • Backbone.View

Methods

onActiveTrayChange(model, tray)

Announces a changed active tray.

Name Type Description
model Drupal.toolbar.ToolbarModel

The toolbar model in question.

tray HTMLElement

The new value of the tray attribute in the model.

onOrientationChange(model, orientation)

Announces an orientation change.

Name Type Description
model Drupal.toolbar.ToolbarModel

The toolbar model in question.

orientation string

The new value of the orientation attribute in the model.