CssStyleSheet class

Inheritance
Annotations
  • @DocsEditable()
  • @DomName('CSSStyleSheet')

Static Properties

instanceRuntimeTypeType
@Deprecated("Internal Use Only"), read-only

Constructors

CssStyleSheet.internal_()

Properties

cssRulesList<CssRule>
@DocsEditable(), @DomName('CSSStyleSheet.cssRules'), read-only
ownerRuleCssRule
@DocsEditable(), @DomName('CSSStyleSheet.ownerRule'), read-only
rulesList<CssRule>
@DocsEditable(), @DomName('CSSStyleSheet.rules'), @Experimental(), read-only
disabledbool
@DocsEditable(), @DomName('StyleSheet.disabled'), read / write, inherited
hashCodeint
read-only, inherited
hrefString
@DocsEditable(), @DomName('StyleSheet.href'), read-only, inherited
mediaMediaList
@DocsEditable(), @DomName('StyleSheet.media'), read-only, inherited
ownerNodeNode
@DocsEditable(), @DomName('StyleSheet.ownerNode'), read-only, inherited
parentStyleSheetStyleSheet
@DocsEditable(), @DomName('StyleSheet.parentStyleSheet'), read-only, inherited
runtimeTypeType
read-only, inherited

A representation of the runtime type of the object.

titleString
@DocsEditable(), @DomName('StyleSheet.title'), read-only, inherited
typeString
@DocsEditable(), @DomName('StyleSheet.type'), read-only, inherited

Operators

operator ==(other) → bool
inherited

The equality operator.

Methods

addRule(String selector, String style, [ int index ]) → int
deleteRule(int index) → void
@DocsEditable(), @DomName('CSSStyleSheet.deleteRule')
insertRule(String rule, [ int index ]) → int
removeRule(int index) → void
@DocsEditable(), @DomName('CSSStyleSheet.removeRule'), @Experimental()
noSuchMethod(Invocation invocation) → dynamic
inherited

Invoked when a non-existent method or property is accessed.

toString() → String
inherited

Returns the result of the JavaScript objects toString method.

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/CssStyleSheet-class.html