MediaList

This object is available to unprivileged JavaScript. It implements the following interfaces:

Properties

readonly int length

String 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 ( String newMedium ) void deleteMedium ( String oldMedium ) String item ( int index )

void appendMedium ( String newMedium )

Arguments:
newMedium

void deleteMedium ( String oldMedium )

Arguments:
oldMedium

String item ( int index )

Arguments:
index

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com