core/dom_value library
Safely read form-control values from DOM event targets without importing
package:web (and thus dart:js_interop) into styled component files —
which breaks Jaspr's off-web style extraction. The web implementation does
the typed interop read; the stub keeps the styles build compiling.
Functions
-
domCheckedValue(
Object? target) → bool -
domEventKey(
Object? event) → String -
domEventValue(
Object? event) → String -
domInputValue(
Object? target) → String - Non-web stub (used during style extraction, where dart:js_interop is unavailable). These are never invoked off-web.
-
domPreventDefault(
Object? event) → void -
domSelectedIndex(
Object? target) → int -
domStopPropagation(
Object? event) → void