intro.js
Preparing search index...
option
setOption
Function setOption
setOption
<
T
extends
TourOptions
|
HintOptions
,
K
extends
string
|
number
|
symbol
,
>
(
options
:
T
,
key
:
K
,
value
:
T
[
K
]
,
)
:
T
Update a single option. Special handling for language: regenerates defaults in the new language.
Type Parameters
T
extends
TourOptions
|
HintOptions
K
extends
string
|
number
|
symbol
Parameters
options
:
T
key
:
K
value
:
T
[
K
]
Returns
T
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
intro.js
Loading...
Update a single option. Special handling for language: regenerates defaults in the new language.