Class: DeleteSelected

wp.media.view. DeleteSelected


new DeleteSelected()

wp.media.view.DeleteSelectedButton A button that handles bulk Delete/Trash logic
Source:

Extends

Members


model :Backbone.Model

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

Methods


click(event)

Parameters:
Name Type Description
event Object
Inherited From:
Source:

dispose()

Inherited From:
Overrides:
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:
Overrides:
Source:
Returns:
Returns itself to allow chaining.
Type
wp.media.View

render()

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