Packagecssom.view
Interfacepublic interface Media

Should be an object returned by the Window.media property, although I haven't found any browsers that support this.

View the examples

See also

W3C CSSOM Views Specification: Media


Public Properties
 PropertyDefined By
  CSSOM View type : DOMString
[read-only] Returns the string that represents the canvas' current rendering mode in canonical form.
Media
Public Methods
 MethodDefined By
  
CSSOM View query(mediaquery:DOMString):Boolean
Media
Property Detail
CSSOM View typeproperty
type:DOMString  [read-only]

Returns the string that represents the canvas' current rendering mode in canonical form.


Implementation
    public function get type():DOMString

See also

Method Detail
CSSOM View query()method
public function query(mediaquery:DOMString):Boolean

Parameters

mediaquery:DOMString

Returns
Boolean — If the mediaquery matches the state of the current view.

See also

Examples
var m = window.media;