• Handle captured mouse/touch move action. Should be typically called from mousedown/touchstart handler.
    It will add elX and elY atributes to the event object - pointer coordinates relative to the top left corner of the element el - and passes it to moveaction and endaction functions.

    Parameters

    • el: any

      bounding element

    • moveaction: any

      pointermove handler

    • endaction: any

      pointerup handler

    Returns void

    Method

    handleCapture