Class: View

wp.media. View


new View()

wp.media.View The base view class for media. Undelegating events, removing events from the model, and removing events from the controller mirror the code for `Backbone.View.dispose` in Backbone 0.9.8 development. This behavior has since been removed, and should not be used outside of the media manager.
Source:

Extends

  • wp.Backbone.View
  • Backbone.View

Methods


dispose()

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()

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