Skip to content

Add warning if Draggable/Tossable don't have styleStreams connected #247

Open
@appsforartists

Description

@appsforartists

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions