mapbox-gl-contextmenu - v1.6.0
    Preparing search index...

    Interface SlotOptions

    Options for creating a slot element via object notation.

    interface SlotOptions {
        as?: string;
        className?: string;
        content?: string;
        onClick?: (ev: MouseEvent) => void;
    }
    Index

    Properties

    as?: string

    The element type to create. Defaults to 'span'.

    className?: string

    CSS class name(s) to apply.

    content?: string

    Text content for the element.

    onClick?: (ev: MouseEvent) => void

    Click event handler.