new EditImage(attributes)
wp.media.controller.EditImage
A state for editing (cropping, etc.) an image.
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
attributes |
object | The attributes hash passed to the state.
Properties
|
- Source:
Extends
- wp.media.controller.State
- Backbone.Model
Methods
-
activate()
-
- Since:
-
- 3.9.0
- Overrides:
- Source:
-
constructor()
-
Constructor.
- Since:
-
- 3.5.0
- Inherited From:
- Source:
-
deactivate()
-
- Since:
-
- 3.9.0
- Overrides:
- Source:
-
<abstract> ready()
-
Ready event callback.
- Since:
-
- 3.5.0
- Inherited From:
- Source:
-
<abstract> reset()
-
Reset event callback.
- Since:
-
- 3.5.0
- Inherited From:
- Source:
-
toolbar()
-
- Since:
-
- 3.9.0
- Source: