Skip to content

Function: useHints() ​

ts
function useHints(config?): UseHintsReturn;

Creates a hints instance bound to the current component: a reactive hints list is re-applied on change and the beacons are hidden when the component unmounts.

ts
const { show } = useHints({ hints })

Parameters ​

ParameterType
configMaybeRefOrGetter<HintsConfig>

Returns ​

UseHintsReturn

Released under the MIT License.