IMediaList.MediaText

IMediaList.MediaText property

A stringifier that returns a DOMString representing the MediaList as text, and also allows you to set a new MediaList.

public string MediaText { get; }

Property Value

The parsable textual representation of the media list. This is a comma-separated list of media.

Exceptions

exceptioncondition
DOMExceptionSYNTAX_ERR: Raised if the specified string value has a syntax error and is unparsable.NO_MODIFICATION_ALLOWED_ERR: Raised if this media list is readonly.

See Also