@hydroperx/metro
    Preparing search index...

    Type Alias ContextMenuShowParams

    Context menu show params.

    type ContextMenuShowParams = {
        event?: MouseEvent;
        position?: [number, number];
        prefer?: SimplePlacementType;
        reference?: HTMLElement;
    }
    Index

    Properties

    event?: MouseEvent

    Original cause mouse event, if any.

    position?: [number, number]

    Position (x, y), if any.

    Preferred placement type.

    reference?: HTMLElement

    Reference element to where placement of the context menu occurs.