@3dsource/metabox-front-api
    Preparing search index...

    Class HideMeasurement

    Represents a command to hide measurement for a product when it is already loaded. This class sends a command to the Metabox API to hide measurement for a product if it is already initialized.

    Hides the measurement overlay. Executes unconditionally to hide the UI controls.

    Hides the measurement/dimension overlay. Use when transitioning from a technical spec view back to a clean product presentation, or to keep consumer-facing configurators visually clean.

    Call api.sendCommandToMetabox(new HideMeasurement()). No parameters. Pair with ShowMeasurement as a toggle. Track visibility state in your app state to keep toggle buttons in sync.

    import { HideMeasurement, Communicator } from '@3dsource/metabox-front-api';
    window.env3DSource.apiReady = (api: Communicator) => {
    api.sendCommandToMetabox(new HideMeasurement());
    };
    Index

    Constructors

    Properties

    Constructors

    Properties

    data: ToMetaBoxMessageEnvelope

    The message envelope populated by subclass constructors and sent via Communicator.sendCommandToMetabox.