intro.js
Preparing search index...
packages/package
Package
Interface Package<TOption>
Generic package interface.
interface
Package
<
TOption
>
{
clone
()
:
ThisType
<
Package
<
TOption
>
>
;
getOption
<
K
extends
string
|
number
|
symbol
>
(
key
:
K
)
:
TOption
[
K
]
;
isActive
()
:
boolean
;
setOption
<
K
extends
string
|
number
|
symbol
>
(
key
:
K
,
value
:
TOption
[
K
]
,
)
:
this
;
setOptions
(
partialOptions
:
Partial
<
TOption
>
)
:
this
;
}
Type Parameters
TOption
Implemented by
Hint
Tour
Index
Methods
clone
get
Option
is
Active
set
Option
set
Options
Methods
clone
clone
()
:
ThisType
<
Package
<
TOption
>
>
Returns
ThisType
<
Package
<
TOption
>
>
get
Option
getOption
<
K
extends
string
|
number
|
symbol
>
(
key
:
K
)
:
TOption
[
K
]
Type Parameters
K
extends
string
|
number
|
symbol
Parameters
key
:
K
Returns
TOption
[
K
]
is
Active
isActive
()
:
boolean
Returns
boolean
set
Option
setOption
<
K
extends
string
|
number
|
symbol
>
(
key
:
K
,
value
:
TOption
[
K
]
)
:
this
Type Parameters
K
extends
string
|
number
|
symbol
Parameters
key
:
K
value
:
TOption
[
K
]
Returns
this
set
Options
setOptions
(
partialOptions
:
Partial
<
TOption
>
)
:
this
Parameters
partialOptions
:
Partial
<
TOption
>
Returns
this
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
clone
get
Option
is
Active
set
Option
set
Options
intro.js
Loading...
Generic package interface.