Namespace: toolbar

Drupal.toolbar

Toolbar methods of Backbone objects.

Source:

Classes

BodyVisualView
MenuModel
MenuVisualView
ToolbarAuralView
ToolbarModel
ToolbarVisualView
ToolbarVisualView

Members

(static) models :object.<string, Backbone.Model>

A hash of Model instances.

Type:
  • object.<string, Backbone.Model>
Source:

(static) mql :object.<string, object>

A hash of MediaQueryList objects tracked by the toolbar.

Type:
  • object.<string, object>
Source:

(static) setSubtrees :jQuery.Deferred

Accepts a list of subtree menu elements.

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

Type:
  • jQuery.Deferred
Source:
See:
  • toolbar_subtrees_jsonp().

(static) views :object.<string, Backbone.View>

A hash of View instances.

Type:
  • object.<string, Backbone.View>
Source:

Methods

(static) mediaQueryChangeHandler(model, label, mql)

Respond to configured narrow media query changes.

Parameters:
Name Type Description
model Drupal.toolbar.ToolbarModel

A toolbar model

label string

Media query label.

mql object

A MediaQueryList object.

Source: