CSSValue

CSSValue

package js-html

extended by CSSPrimitiveValue, CSSValueList

Available on js

The CSSValue interface represents the current computed value of a CSS property.

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

See:

Variables

cssText:String

A DOMString representing the current value.

read only cssValueType:Int

An unsigned short representing a code defining the type of the value. Possible values are:

Constant Description
CSS_CUSTOM The value is a custom value.
CSS_INHERIT The value is inherited and the cssText contains "inherit".
CSS_PRIMITIVE_VALUE The value is a primitive value and an instance of the CSSPrimitiveValue interface can be obtained by using binding-specific casting methods on this instance of the CSSValue interface.
CSS_VALUE_LIST The value is a CSSValue list and an instance of the CSSValueList interface can be obtained by using binding-specific casting methods on this instance of the CSSValue interface.

Static variables

static inline read only CSS_CUSTOM:Int = 3

static inline read only CSS_INHERIT:Int = 0

static inline read only CSS_PRIMITIVE_VALUE:Int = 1

static inline read only CSS_VALUE_LIST:Int = 2

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

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部