Class: Cropper

wp.media.view. Cropper


new Cropper()

wp.media.view.Cropper Uses the imgAreaSelect plugin to allow a user to crop an image. Takes imgAreaSelect options from wp.customize.HeaderControl.calculateImageSelectOptions via wp.customize.HeaderControl.openMM.
Source:

Extends

Methods


dispose()

Inherited From:
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