Class: Selection

wp.media.view.Attachments. Selection


new Selection()

wp.media.view.Attachments.Selection
Source:

Extends

Methods


createAttachmentView(attachment)

Parameters:
Name Type Description
attachment wp.media.model.Attachment
Inherited From:
Source:
Returns:
Type
wp.media.View

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