Class: Button

wp.media.view. Button


new Button()

wp.media.view.Button
Source:

Extends

Members


model :Backbone.Model

Create a model with the provided `defaults`.
Type:
  • Backbone.Model
Source:

Methods


click(event)

Parameters:
Name Type Description
event Object
Source:

dispose()

Inherited From:
Source:
To Do:
  • The internal comment mentions this might have been a stop-gap before Backbone 0.9.8 came out. Figure out if Backbone core takes care of this in Backbone.View now.
Returns:
Returns itself to allow chaining.
Type
wp.media.View

remove()

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

render()

Source:
Returns:
Returns itself to allow chaining.
Type
wp.media.view.Button