HTMLStyleElement class

The interface represents a <style> element. It inherits properties and methods from its parent, HTMLElement. This interface doesn't allow to manipulate the CSS it contains (in most case). To manipulate CSS, see Using dynamic styling information for an overview of the objects used to manipulate specified CSS properties using the DOM.

EventTarget

Node

Element

HTMLElement

HTMLStyleElement

Implemented types
Available Extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

HTMLStyleElement()
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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