WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIDOMMediaList

IID:9b0c2ed7-111c-4824-adf9-ef0da6dad371
Inherits From:nsISupports

Properties

readonly PRUint32 length

DOMString mediaText

The nsIDOMMediaList interface is a datatype for a list of media types in the Document Object Model.

For more information on this interface please see http://www.w3.org/TR/DOM-Level-2-Style


Methods

void appendMedium ( DOMString newMedium ) void deleteMedium ( DOMString oldMedium ) DOMString item ( PRUint32 index )

void appendMedium ( DOMString newMedium )

Arguments:
newMedium

void deleteMedium ( DOMString oldMedium )

Arguments:
oldMedium

DOMString item ( PRUint32 index )

Arguments:
index

References

This interface is the type of the following properties:

nsIDOMCSSImportRule.media, nsIDOMCSSMediaRule.media, nsIDOMStyleSheet.media

Reference documentation is generated from Mozilla's source.