Namespace: toolbar

Drupal. toolbar

Toolbar methods of Backbone objects.

Classes

BodyVisualView
MenuModel
MenuVisualView
ToolbarAuralView
ToolbarModel
ToolbarVisualView

Members

staticDrupal.toolbar.modelsobject.<string, Backbone.Model>

A hash of Model instances.

staticDrupal.toolbar.mqlobject.<string, object>

A hash of MediaQueryList objects tracked by the toolbar.

staticDrupal.toolbar.setSubtreesjQuery.Deferred

Accepts a list of subtree menu elements.

A deferred object that is resolved by an inlined JavaScript callback.

See:
  • toolbar_subtrees_jsonp().

staticDrupal.toolbar.viewsobject.<string, Backbone.View>

A hash of View instances.

Methods

staticDrupal.toolbar.mediaQueryChangeHandler(model, label, mql)

Respond to configured narrow media query changes.

Name Type Description
model Drupal.toolbar.ToolbarModel

A toolbar model

label string

Media query label.

mql object

A MediaQueryList object.