addToolTipProvider Method
Register a new ToolTipProvider to customize the locate tooltip.
addToolTipProvider(provider: ToolTipProvider): () => void
@throws Error if provider
is already registered.
@returns a function that may be called to remove this provider (in lieu of calling dropToolTipProvider.)
Parameter | Type | Description |
---|---|---|
provider | ToolTipProvider | The new tooltip provider to add. |
Returns - () => void
a function that may be called to remove this provider (in lieu of calling dropToolTipProvider.)
Defined in
- core/frontend/src/ViewManager.ts Line 460
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.