Create a new Hint instance
Optional
elementOrSelector: string | HTMLElementOptional target element or CSS query to start the Hint on
Optional
options: Partial<HintOptions>Optional Hint options
Clone the Hint instance
Destroys and removes all hint elements on the page Useful when you want to destroy the elements and add them again (e.g. a modal or popup)
Disable closing the dialog when the user clicks outside the hint
Disable hint auto refresh on page scroll and resize for hints
Enable closing the dialog when the user clicks outside the hint
Enable hint auto refresh on page scroll and resize for hints
Get the active hint signal This is meant to be used internally by the Hint package
Get the Hint item for the provided step ID
The step ID
Get the Hint items
Get specific Hint option
The option key
Returns the underlying state of the refreshes This is an internal method and should not be used outside of the package.
Get the target element for the Hint
Hide hint dialog from the page
Hide all hints on the page
Returns true if the Hint is active
Returns true if the hints are rendered
Callback for when hint items are clicked
callback function
Callback for when hint items are closed
callback function
Refresh the hints on the page
Remove one single hint element from the page Useful when you want to destroy the element and add them again (e.g. a modal or popup) Use removeHints if you want to remove all elements.
The hint step ID
Render hints on the page
Set specific Hint option
Option key
Option value
Show hint dialog for a specific hint
The hint step ID
Show all hints on the page
Generic package interface.