MediaList

Overview

The MediaList interface represents the media queries of a stylesheet, e.g. those set using a <link> element's media attribute.

Location

Properties


length

 

property length: Int32 read;

 

Int32 length { get; }

 

var length: Int32 { get{} }

 

Int32 length { __get; }

 

ReadOnly Property length() As Int32

mediaText

 

property mediaText: String read write;

 

String mediaText { get; set; }

 

var mediaText: String { get{} set{} }

 

String mediaText { __get; __set; }

 

Property mediaText() As String

Required Methods


appendMedium

Adds a media query to the MediaList.

 

method appendMedium: dynamic

 

dynamic appendMedium()

 

func appendMedium() -> dynamic

 

dynamic appendMedium()

 

Function appendMedium() As dynamic

deleteMedium

Removes a media query from the MediaList.

 

method deleteMedium: dynamic

 

dynamic deleteMedium()

 

func deleteMedium() -> dynamic

 

dynamic deleteMedium()

 

Function deleteMedium() As dynamic