Class: Toolbar

wp.media.view. Toolbar


new Toolbar()

wp.media.view.Toolbar A toolbar which consists of a primary and a secondary section. Each sections can be filled with views.
Source:

Extends

Classes

Embed
Select

Methods


dispose()

Overrides:
Source:
Returns:
Returns itsef to allow chaining
Type
wp.media.view.Toolbar

get(id)

Parameters:
Name Type Description
id string
Source:
Returns:
Type
wp.media.view.Button

remove()

Inherited From:
Source:
Returns:
Returns itself to allow chaining.
Type
wp.media.View

set(id, view [, options])

Parameters:
Name Type Argument Default Description
id string
view Backbone.View | Object
options Object <optional>
{}
Source:
Returns:
Returns itself to allow chaining.
Type
wp.media.view.Toolbar

unset(id, options)

Parameters:
Name Type Description
id string
options Object
Source:
Returns:
Returns itself to allow chaining.
Type
wp.media.view.Toolbar