toggleHotspots
On this page
@vulp/js-api > VulpApiModel > toggleHotspots
VulpApiModel.toggleHotspots() method
Shows or hides all hotspots.
Signature:
toggleHotspots(active: boolean): Promise<{
        active: boolean;
    }>;
Parameters
| Parameter | Type | Description | 
|---|---|---|
| active | boolean | Whether all hotspots should be displayed. | 
Promise<{ active: boolean; }>
Promise that resolves to an object with the active property, indicating whether the hotspots are active.