CssStyleSheet class
- Inheritance
- Object
- JSObject
- DartHtmlDomObject
- StyleSheet
- CssStyleSheet
- Annotations
- @DocsEditable()
- @DomName('CSSStyleSheet')
Static Properties
- instanceRuntimeType → Type @Deprecated("Internal Use Only"), read-only
Constructors
Properties
- cssRules → List<CssRule> @DocsEditable(), @DomName('CSSStyleSheet.cssRules'), read-only
- ownerRule → CssRule @DocsEditable(), @DomName('CSSStyleSheet.ownerRule'), read-only
- rules → List<CssRule> @DocsEditable(), @DomName('CSSStyleSheet.rules'), @Experimental(), read-only
- disabled → bool @DocsEditable(), @DomName('StyleSheet.disabled'), read / write, inherited
- hashCode → int read-only, inherited
- href → String @DocsEditable(), @DomName('StyleSheet.href'), read-only, inherited
- media → MediaList @DocsEditable(), @DomName('StyleSheet.media'), read-only, inherited
- ownerNode → Node @DocsEditable(), @DomName('StyleSheet.ownerNode'), read-only, inherited
- parentStyleSheet → StyleSheet @DocsEditable(), @DomName('StyleSheet.parentStyleSheet'), read-only, inherited
- runtimeType → Type read-only, inherited
-
A representation of the runtime type of the object.
- title → String @DocsEditable(), @DomName('StyleSheet.title'), read-only, inherited
- type → String @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