g3-toolkit API Reference
    Preparing search index...

    Interface ElementPointerHandlers<H>

    interface ElementPointerHandlers<H> {
        onElementClick?: (info: ElementPointerInfo<H>) => void;
        onElementContextMenu?: (info: ElementPointerInfo<H>) => void;
        onElementEnter?: (info: ElementPointerInfo<H>) => void;
        onElementLeave?: (info: ElementPointerInfo<H>) => void;
        onElementPointerDown?: (info: ElementPointerInfo<H>) => void;
        onElementPointerUp?: (info: ElementPointerInfo<H>) => void;
    }

    Type Parameters

    • H

    Hierarchy (View Summary)

    Index

    Properties

    onElementClick?: (info: ElementPointerInfo<H>) => void
    onElementContextMenu?: (info: ElementPointerInfo<H>) => void
    onElementEnter?: (info: ElementPointerInfo<H>) => void
    onElementLeave?: (info: ElementPointerInfo<H>) => void

    Leave carries the LAST hit (the element being left).

    onElementPointerDown?: (info: ElementPointerInfo<H>) => void
    onElementPointerUp?: (info: ElementPointerInfo<H>) => void