new ImageDetails( [attributes])
wp.media.controller.ImageDetails
A state for editing the attachment display settings of an image that's been
inserted into the editor.
Parameters:
Name | Type | Argument | Description | ||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
attributes |
object |
<optional> |
The attributes hash passed to the state.
Properties
|
- Source:
- To Do:
-
- This state inherits some defaults from media.controller.Library.prototype.defaults, however this may not do anything.
Extends
- wp.media.controller.State
- Backbone.Model
Methods
-
<private> [undefined]()
-
- Inherited From:
- Source:
-
<private> _deactivate()
-
- Since:
-
- 3.5.0
- Inherited From:
- Source:
-
<private> _menu()
-
- Since:
-
- 3.5.0
- Inherited From:
- Source:
-
<private> _postActivate()
-
- Since:
-
- 3.5.0
- Inherited From:
- Source:
-
<private> _preActivate()
-
- Since:
-
- 3.5.0
- Inherited From:
- Source:
-
<private> _ready()
-
- Since:
-
- 3.5.0
- Inherited From:
- Source:
-
<private> _renderMenu(view)
-
Create a view in the media menu for the state.
Parameters:
Name Type Description view
media.view.Menu The menu view. - Since:
-
- 3.5.0
- Inherited From:
- Source:
-
<private> _renderTitle()
-
- Since:
-
- 3.5.0
- Inherited From:
- Source:
-
<private> _router()
-
- Since:
-
- 3.5.0
- Inherited From:
- Source:
-
<private> _title()
-
- Since:
-
- 3.5.0
- Inherited From:
- Source:
-
<private> _updateMenu()
-
- Since:
-
- 3.5.0
- Inherited From:
- Source:
-
activate()
-
- Since:
-
- 3.9.0
- Overrides:
- Source:
-
constructor()
-
Constructor.
- Since:
-
- 3.5.0
- Inherited From:
- Source:
-
<abstract> deactivate()
-
Deactivate event callback.
- Since:
-
- 3.5.0
- Inherited From:
- Source:
-
initialize(options)
-
Parameters:
Name Type Description options
Attributes - Since:
-
- 3.9.0
- 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: