Drag
Drag:-
drag() API is used to define drag interactions on the layer. It extends the dom events to facilitate drag behavior. Drag interactions consist of 3 actions - dragStart, drag, dragEnd.
Syntax:
dragStart: Triggered on drag starts.
drag: Triggered continuously on drag. It will be triggered after dragStart till dragEnd.
dragEnd: Triggered once on drag ends.
Usage:
Last updated