setActiveMarker Method

Sets the currently active marker. This function is invoked when the user clicks on a marker, but may also be called manually to produce the same result. Changing the active marker first deactivates the currently active marker, if any; then activates the specified marker, if supplied. Returns false if marker activation fails.

setActiveMarker(marker: SectionMarker): Promise<boolean>

@see - activeMarker to obtain the currently active section marker.

Parameter Type Description
marker SectionMarker  

Returns - Promise

Defined in

Last Updated: 21 November, 2024