@vk-io/scenes
Preparing search index...
IScene
Interface IScene<S>
interface
IScene
<
S
extends
Record
<
string
,
unknown
>
=
Record
<
string
,
any
>
>
{
slug
:
string
;
enterHandler
(
context
:
IContext
<
S
>
)
:
unknown
;
leaveHandler
(
context
:
IContext
<
S
>
)
:
unknown
;
}
Type Parameters
S
extends
Record
<
string
,
unknown
>
=
Record
<
string
,
any
>
Implemented by
StepScene
Index
Properties
slug
Methods
enter
Handler
leave
Handler
Properties
slug
slug
:
string
The unique name of the scene
Methods
enter
Handler
enterHandler
(
context
:
IContext
<
S
>
)
:
unknown
Enter handler for the scene
Parameters
context
:
IContext
<
S
>
Returns
unknown
leave
Handler
leaveHandler
(
context
:
IContext
<
S
>
)
:
unknown
Leave handler for the scene
Parameters
context
:
IContext
<
S
>
Returns
unknown
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
slug
Methods
enter
Handler
leave
Handler
@vk-io/scenes
Loading...
The unique name of the scene