Clear Up
SharpKit Reference

MediaList Class

The

MediaList
interface provides the abstraction of an ordered collection of media, without defining or constraining how this collection is implemented. An empty list is the same as a list that contains the medium
"all"
.
The items in the
MediaList
are accessible via an integral index, starting from 0.
See also the Document Object Model (DOM) Level 2 Style Specification. @since DOM Level 2

Namespace: SharpKit.Html

Base Types

System.Object

Constructors

Name Description
MediaList()

Methods

Name Description
appendMedium(string) Adds the medium
newMedium
to the end of the list. If the
newMedium
is already used, it is first removed.
deleteMedium(string) Deletes the medium indicated by
oldMedium
from the list.

Indexers

Name Description
Item(int)

Properties

Name Description
length The number of media in the list. The range of valid media is
0
to
length-1
inclusive.
mediaText The parsable textual representation of the media list. This is a comma-separated list of media.
© Copyright 2005-2011 SharpKit. All rights reserved.