dart / 2 / dart-html / cssstylesheet-class.html

CssStyleSheet class

Inheritance
Annotations
  • @Native("CSSStyleSheet")

Properties

cssRules → List<CssRule>
@Returns('_CssRuleList'), @Creates('_CssRuleList'), read-only
disabled ↔ bool?
read / write, inherited
hashCode → int
read-only, inherited
The hash code for this object.
href → String?
read-only, inherited
media → MediaList?
read-only, inherited
ownerNode → Node?
read-only, inherited
ownerRule → CssRule?
read-only
parentStyleSheet → StyleSheet?
read-only, inherited
rules → List<CssRule>?
@Returns('_CssRuleList'), @Creates('_CssRuleList'), read-only
runtimeType → Type
read-only, inherited
A representation of the runtime type of the object.
title → String?
read-only, inherited
type → String?
read-only, inherited

Methods

addRule(String? selector, String? style, [int? index]) → int
deleteRule(int index) → void
insertRule(String rule, [int? index]) → int
noSuchMethod(Invocation invocation) → dynamic
inherited
Invoked when a non-existent method or property is accessed.
removeRule(int? index) → void
toString() → String
inherited
A string representation of this object.

Operators

operator ==(Object other) → bool
inherited
The equality operator.

© 2012 the Dart project authors
Licensed under the BSD 3-Clause "New" or "Revised" License.
https://api.dart.dev/stable/2.18.5/dart-html/CssStyleSheet-class.html