toggleInformationHotspots

@vulp/js-api > VulpApiModel > toggleInformationHotspots

VulpApiModel.toggleInformationHotspots() method

Shows or hides the information hotspots.

Signature:

toggleInformationHotspots(active: boolean): Promise<{
        active: boolean;
    }>;

Parameters

ParameterTypeDescription
activebooleanWhether the information hotspots should be displayed.

Returns:

Promise<{ active: boolean; }>

Promise that resolves to an object with the active property, indicating whether the hotspots are active.