Vertex Viewer SDK
    Preparing search index...

    Interface VertexViewerPinLabel

    interface VertexViewerPinLabel {
        elementBounds?: DOMRect;
        onLabelBlurred?: (
            event: VertexViewerPinLabelCustomEvent<string | undefined>,
        ) => void;
        onLabelChanged?: (event: VertexViewerPinLabelCustomEvent<void>) => void;
        onLabelFocused?: (
            event: VertexViewerPinLabelCustomEvent<string | undefined>,
        ) => void;
        pin?: TextPin;
        pinController?: PinController;
        value?: string;
    }
    Index
    elementBounds?: DOMRect

    The dimensions of the canvas for the pins

    onLabelBlurred?: (
        event: VertexViewerPinLabelCustomEvent<string | undefined>,
    ) => void

    Emitted whenever the label is blurred, with the ID of the associated pin (or undefined if no pin is provided).

    onLabelChanged?: (event: VertexViewerPinLabelCustomEvent<void>) => void
    onLabelFocused?: (
        event: VertexViewerPinLabelCustomEvent<string | undefined>,
    ) => void

    Emitted whenever the label is focused, with the ID of the associated pin (or undefined if no pin is provided).

    pin?: TextPin

    The pin to draw for the group

    pinController?: PinController

    The controller that drives behavior for pin operations

    value?: string

    The current text value of the component. Value is updated on user interaction.

    ''