PointerEvents enum

The pointer-events CSS property sets under what circumstances (if any) a particular graphic element can become the target of pointer events.

Inheritance
Available extensions

Values

none → const PointerEvents

The element on its own is never the target of pointer events. However its subtree could be kept targetable by setting pointer-events to some other value. In these circumstances, pointer events will trigger event listeners on this parent element as appropriate on their way to or from the descendant during the event capture and bubble phases.

const PointerEvents("none")
auto → const PointerEvents

The element behaves as it would if the pointer-events property were not specified. In SVG content, this value and the value visiblePainted have the same effect.

const PointerEvents("auto")
visiblePainted → const PointerEvents
const PointerEvents("visiblePainted")
visibleFill → const PointerEvents
const PointerEvents("visibleFill")
visibleStroke → const PointerEvents
const PointerEvents("visibleStroke")
visible → const PointerEvents
const PointerEvents("visible")
painted → const PointerEvents
const PointerEvents("painted")
fill → const PointerEvents
const PointerEvents("fill")
stroke → const PointerEvents
const PointerEvents("stroke")
boundingBox → const PointerEvents
const PointerEvents("bounding-box")
all → const PointerEvents
const PointerEvents("all")
inherit → const PointerEvents
const PointerEvents("inherit")
initial → const PointerEvents
const PointerEvents("initial")
revert → const PointerEvents
const PointerEvents("revert")
revertLayer → const PointerEvents
const PointerEvents("revert-layer")
unset → const PointerEvents
const PointerEvents("unset")

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
The css value
final

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

Constants

values → const List<PointerEvents>
A constant List of the values in this enum, in order of their declaration.