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
- wp.media.View
- wp.Backbone.View
- Backbone.View
Classes
Methods
-
dispose()
-
- Overrides:
- Source:
Returns:
Returns itsef to allow chaining -
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. -
unset(id, options)
-
Parameters:
Name Type Description id
string options
Object - Source:
Returns:
Returns itself to allow chaining.