new EditSelection()
wp.media.view.Attachment.EditSelection
Extends
- wp.media.view.Attachment.Selection
- wp.media.view.Attachment
- wp.media.View
- wp.Backbone.View
- Backbone.View
Methods
-
_syncAlbum(model, value)
-
Parameters:
Name Type Description model
Backbone.Model value
string - Inherited From:
- Overrides:
- Source:
Returns:
Returns itself to allow chaining. -
_syncArtist(model, value)
-
Parameters:
Name Type Description model
Backbone.Model value
string - Inherited From:
- Overrides:
- Source:
Returns:
Returns itself to allow chaining. -
_syncCaption(model, value)
-
Parameters:
Name Type Description model
Backbone.Model value
string - Inherited From:
- Overrides:
- Source:
Returns:
Returns itself to allow chaining. -
_syncTitle(model, value)
-
Parameters:
Name Type Description model
Backbone.Model value
string - Inherited From:
- Overrides:
- Source:
Returns:
Returns itself to allow chaining. -
checkClickHandler()
-
Add the model if it isn't in the selection, if it is in the selection, remove it.
Parameters:
Type Description - Inherited From:
- Overrides:
- Source:
Returns:
-
deselect(model, collection)
-
Parameters:
Name Type Description model
Backbone.Model collection
Backbone.Collection - Inherited From:
- Overrides:
- Source:
-
details(model, collection)
-
Parameters:
Name Type Description model
Backbone.Model collection
Backbone.Collection - Inherited From:
- Overrides:
- Source:
-
dispose()
-
- Inherited From:
- Overrides:
- Source:
Returns:
Returns itself to allow chaining. -
imageSize(size)
-
Parameters:
Name Type Description size
string - Inherited From:
- Overrides:
- Source:
Returns:
- Type
- Object
-
remove()
-
- Inherited From:
- Overrides:
- Source:
Returns:
Returns itself to allow chaining.- Type
- wp.media.View
-
removeFromLibrary(event)
-
Parameters:
Name Type Description event
Object - Inherited From:
- Overrides:
- Source:
-
render()
-
- Inherited From:
- Overrides:
- Source:
Returns:
Returns itself to allow chaining. -
save()
-
Pass all the arguments to the model's save method. Records the aggregate status of all save requests and updates the view's classes accordingly.
- Inherited From:
- Overrides:
- Source:
-
select(model, collection)
-
Parameters:
Name Type Description model
Backbone.Model collection
Backbone.Collection - Inherited From:
- Overrides:
- Source:
-
selected()
-
- Inherited From:
- Overrides:
- Source:
Returns:
- Type
- unresolved | Boolean
-
toggleSelection(options)
-
Parameters:
Name Type Description options
Object - Inherited From:
- Overrides:
- Source:
-
toggleSelectionHandler(event)
-
Parameters:
Name Type Description event
Object - Inherited From:
- Overrides:
- Source:
-
updateSave(status)
-
Parameters:
Name Type Description status
string - Inherited From:
- Overrides:
- Source:
Returns:
Returns itself to allow chaining. -
updateSetting(event)
-
Parameters:
Name Type Description event
Object - Inherited From:
- Overrides:
- Source: