new EditLibrary()
wp.media.view.Attachment.EditLibrary
Extends
- 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:
- Source:
Returns:
Returns itself to allow chaining. -
_syncArtist(model, value)
-
Parameters:
Name Type Description model
Backbone.Model value
string - Inherited From:
- Source:
Returns:
Returns itself to allow chaining. -
_syncCaption(model, value)
-
Parameters:
Name Type Description model
Backbone.Model value
string - Inherited From:
- Source:
Returns:
Returns itself to allow chaining. -
_syncTitle(model, value)
-
Parameters:
Name Type Description model
Backbone.Model value
string - Inherited From:
- 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:
- Source:
Returns:
-
deselect(model, collection)
-
Parameters:
Name Type Description model
Backbone.Model collection
Backbone.Collection - Inherited From:
- Source:
-
details(model, collection)
-
Parameters:
Name Type Description model
Backbone.Model collection
Backbone.Collection - Inherited From:
- Source:
-
dispose()
-
- Inherited From:
- Overrides:
- Source:
Returns:
Returns itself to allow chaining. -
imageSize(size)
-
Parameters:
Name Type Description size
string - Inherited From:
- 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:
- Source:
-
render()
-
- Inherited From:
- 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:
- Source:
-
select(model, collection)
-
Parameters:
Name Type Description model
Backbone.Model collection
Backbone.Collection - Inherited From:
- Source:
-
selected()
-
- Inherited From:
- Source:
Returns:
- Type
- unresolved | Boolean
-
toggleSelection(options)
-
Parameters:
Name Type Description options
Object - Inherited From:
- Source:
-
toggleSelectionHandler(event)
-
Parameters:
Name Type Description event
Object - Inherited From:
- Source:
-
updateSave(status)
-
Parameters:
Name Type Description status
string - Inherited From:
- Source:
Returns:
Returns itself to allow chaining. -
updateSetting(event)
-
Parameters:
Name Type Description event
Object - Inherited From:
- Source: