Class media.display
Extends
media.plugin.
Base class used to provide the display and options for any component
deriving from this class. Components who derive are expected to provide
the elements that they define by implementing the getElements method.
Defined in: drupal.media.display.js.
Constructor Attributes | Constructor Name and Description |
---|---|
media.display(context, options)
|
Method Attributes | Method Name and Description |
---|---|
Returns all the jQuery elements that this component uses.
|
|
isValid()
Returns if this component is valid and exists within the DOM.
|
- Methods borrowed from class media.plugin:
- construct, setPlayer
Class Detail
media.display(context, options)
- Parameters:
- {object} context
- The jQuery context this component resides.
- {object} options
- The options for this component.
Method Detail
{object}
getElements()
Returns all the jQuery elements that this component uses.
- Returns:
- {object} An object which defines all the jQuery elements that this component uses.
{boolean}
isValid()
Returns if this component is valid and exists within the DOM.
- Returns:
- {boolean} TRUE if the plugin display is valid.