This is the documentation of version 0.47.8. Go to the latest version, 1.0.0-rc.5.
TomTom Maps for JavaScript
    Preparing search index...

    Type Alias ClickEventType

    ClickEventType: "click" | "contextmenu"

    Subtype for click events.

    • click: Regular left-click or tap on touch devices
    • contextmenu: Right-click (or long-press on touch devices)
    const clickType: ClickEventType = 'click';
    const rightClick: ClickEventType = 'contextmenu';