material-motion-js
material-motion-js copied to clipboard
Add warning if Draggable/Tossable don't have styleStreams connected
A new user might presumably do this:
const draggable = new Draggable(pointerEvents);
const spring = new Point2DSpring();
const tossable = new Tossable({ draggable, spring });
and wonder why nothing is happening. Perhaps interactions that take user input should throw warnings if their output isn't being used (at least in a dev mode).