Skip to content
Novus Examples

Pointer drag on a canvas

Three shapes drawn into a canvas and dragged with pointer events. There are no elements to select and no coordinates in the DOM — only the position read-out below, which is what a driver has to assert against.

  • circle-a: x=70, y=70
  • circle-b: x=190, y=120
  • circle-c: x=310, y=70