Opened 12 years ago

Closed 12 years ago

#4344 closed enhancement (fixed)

When publishing /dnd/move/start or stop pass a mover to subscribers

Reported by: Eugene Lazutkin Owned by: Eugene Lazutkin
Priority: high Milestone: 1.0
Component: DnD Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

When dojo.dnd.Mover publishes a topic, it should pass itself as a parameter, instead of a node. The node is still accessible from it as a "node" member.

This change gives more flexibility including the access to the latest mouse position, which is updated automatically on every move. Additionally subscribers can customize a mover on the fly.

Change History (1)

comment:1 Changed 12 years ago by Eugene Lazutkin

Resolution: fixed
Status: newclosed

(In [10404]) Now when dojo.dnd.Mover publishes a topic, it passes itself as a parameter, instead of a node. The node is still accessible from it as a "node" member. It gives more flexibility including the access to the latest mouse position, which is updated automatically on every move. Additionally subscribers can customize a mover on the fly.

I did trivial updates to existing /dnd/move/ subscribers.

Fixes #4344.

Note: See TracTickets for help on using tickets.