Class Index | File Index

Classes


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.

Class Summary
Constructor Attributes Constructor Name and Description
 
media.display(context, options)
Method Summary
Method Attributes Method Name and Description
 
Returns all the jQuery elements that this component uses.
 
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.

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Nov 22 2011 23:07:52 GMT+0100 (CET)