@sundance-ui/interactions
v0.1.1
Published
Optional progressive interactions for Sundance controls.
Maintainers
Readme
@sundance-ui/interactions
Optional progressive DOM controllers for Sundance tabs, switches, segmented controls, steppers, sliders, and page controls.
npm install @sundance-ui/interactionsExplicit initialization is side-effect free:
import { initSundance } from "@sundance-ui/interactions";
initSundance(document);For declarative startup, add data-sd-auto to a containing element and import
the automatic entry point:
import "@sundance-ui/interactions/auto";Controllers dispatch a bubbling sundance:change event with the current value
in event.detail.value.
