CSSMediaRule

CSSMediaRule

package js-html

extends CSSRule

Available on js

The CSSMediaRule is an interface representing a single CSS @media rule. It implements the CSSConditionRule interface, and therefore the CSSGroupingRule and the CSSRule interface with a type value of 4 (CSSRule.MEDIA_RULE).

Documentation CSSMediaRule by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Variables

read only cssRules:CSSRuleList

read only media:MediaList

Specifies a MediaList representing the intended destination medium for style information.

Methods

deleteRule (index:Int):Void

insertRule (rule:String, index:Int):Int

© 2005–2016 Haxe Foundation
Licensed under a MIT license.
http://api.haxe.org/js/html/CSSMediaRule.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部