Highlight extension type
The Highlight
interface of the
CSS Custom Highlight API
is used to represent a collection of Range instances to be styled using
the API.
To style arbitrary ranges in a page, instantiate a new Highlight
object,
add one or more Range
objects to it, and register it using the
HighlightRegistry.
A Highlight
instance is a
Set
-like object
that can hold one or more Range
objects.
Constructors
- Highlight(AbstractRange initialRanges)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- priority ↔ int
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ HighlightType
-
getter/setter pair
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