Skip to content

Explore feasibility of event-drag module #1326

Open
@tilomitra

Description

@tilomitra

An event-drag module would simplify the story around gesture events in YUI.

Currently, you can do this:

node.on('tap', doThis);
node.on('flick', doThat);

But if you want to drag something around, you have to do this:

var dd = new Y.DD.Drag({ ... });
dd.on('drag:drag', doThisToo);

This should be simplified to this:

node.on('drag', doThisToo)

I think we can do this by having an event-drag module that instantiates and sets up Y.DD under the hood, but I need to look into it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions