Class: SC.CSSStyleSheet
Extends
SC.Object.
SC.CSSStyleSheet
A style sheet object wraps a document style sheet object. C.CSSStyleSheet
will re-use stylesheet objects as needed.
Defined in: css_style_sheet.js
Field Summary
- Fields borrowed from SC.Object:
- concatenatedProperties, isDestroyed, isObject, nextProperty, object, property, target, toInvalidate
- Fields borrowed from SC.Observable:
- isObservable
Instance Methods
Field Detail
rules SC.Array contains SC.CSSRule objectsDO NOT MODIFY THIS OBJECT DIRECTLY!!!!* Use the methods defined on this object to update properties of the style sheet; otherwise, your changes will not be reflected.
Instance Method Detail
deleteRule(rule)
You can also insert and remove rules on the rules property array.
- Parameters:
- rule
href(key, val)
- Parameters:
- key
- val
init()
insertRule(rule)
You can also insert and remove rules on the rules property array.
- Parameters:
- rule
isEnabled(key, val)
- Parameters:
- key
- val
title(key, val)
- Parameters:
- key
- val
Documentation generated by JsDoc Toolkit 2.4.0 on Wed Apr 08 2015 10:02:20 GMT-0600 (CST)