toggleInformationHotspots

@vulp/js-api > VulpApiModel > toggleInformationHotspots

VulpApiModel.toggleInformationHotspots() method

Shows or hides the information hotspots.

Signature:

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

Parameters

Parameter

Type

Description

active

boolean

Whether 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.