new ToolbarAuralView(options)
Backbone view for the aural feedback of the toolbar.
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
options |
object | Options for the view. Properties
|
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. |
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. |