Class YCss
Defined in: YCss.js.
Constructor Attributes | Constructor Name and Description |
---|---|
YCss()
YCss utilities Not instanciable.
|
Method Attributes | Method Name and Description |
---|---|
<static> |
YCss.cleanedStyle(target)
|
<static> |
YCss.collectCssText(Function, datas)
get all css rules as text.
|
<static> |
YCss.getLeftTop(node)
|
<static> |
YCss.init()
|
<static> |
YCss.merge(target, source)
|
<static> |
YCss.objToStr(style)
|
<static> |
YCss.setLeftTop(node, i2d)
|
<static> |
YCss.setWidthHeight(node, i2d)
|
<static> |
YCss.strToObj(string)
|
Method Detail
<static>
YCss.cleanedStyle(target)
- Parameters:
- target
<static>
YCss.collectCssText(Function, datas)
get all css rules as text.
- Parameters:
- {function} Function
- function invoked when all css text collected (of type Function(string:csstext,object:datas) ).
- {object} datas
- .
<static>
YCss.getLeftTop(node)
- Parameters:
- node
<static>
YCss.init()
<static>
YCss.merge(target, source)
- Parameters:
- target
- source
<static>
YCss.objToStr(style)
- Parameters:
- style
<static>
YCss.setLeftTop(node, i2d)
- Parameters:
- node
- i2d
<static>
YCss.setWidthHeight(node, i2d)
- Parameters:
- node
- i2d
<static>
YCss.strToObj(string)
- Parameters:
- string