Classes
Type Definitions
-
Options{Object}
-
Properties:
Name Type Description handleDownEventfunction | undefined Function handling "down" events. If the function returns
truethen a drag sequence is started.handleDragEventfunction | undefined Function handling "drag" events. This function is called on "move" events during a drag sequence.
handleEventfunction | undefined Method called by the map to notify the interaction that a browser event was dispatched to the map. The function may return
falseto prevent the propagation of the event to other interactions in the map's interactions chain.handleMoveEventfunction | undefined Function handling "move" events. This function is called on "move" events. This functions is also called during a drag sequence, so during a drag sequence both the
handleDragEventfunction and this function are called. IfhandleDownEventis defined and it returns true this function will not be called during a drag sequence.handleUpEventfunction | undefined Function handling "up" events. If the function returns
falsethen the current drag sequence is stopped.stopDownfunction | undefined Should the down event be propagated to other interactions, or should be stopped?