nsIDOMMediaList

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

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


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.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com