Class: MediaEmbedView

wp.mediaWidgets. MediaEmbedView


new MediaEmbedView()

Extended view for managing the embed UI.
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

initialize(options)

Initialize.
Parameters:
Name Type Description
options object Options.
Since:
  • 4.9.0
Source:
Returns:
Type
void

refresh()

Refresh embed view. Forked override of {wp.media.view.Embed#refresh()} to suppress irrelevant "link text" field.
Source:
Returns:
Type
void

remove()

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