Lens Scripting API
Editor Scripting API
Guide Docs
Preparing search index...
Packages/SpectaclesInteractionKit/Utils/Event
PublicApi
Interface PublicApi<Arg>
Represents the public api of an event.
interface
PublicApi
<
Arg
>
{
add
(
cb
:
callback
<
Arg
>
)
:
unsubscribe
;
remove
(
cb
:
callback
<
Arg
>
)
:
void
;
(
cb
:
callback
<
Arg
>
)
:
unsubscribe
;
}
Type Parameters
Arg
PublicApi
(
cb
:
callback
<
Arg
>
)
:
unsubscribe
Parameters
cb
:
callback
<
Arg
>
Returns
unsubscribe
Index
Methods
add
remove
Methods
add
add
(
cb
:
callback
<
Arg
>
)
:
unsubscribe
Parameters
cb
:
callback
<
Arg
>
Returns
unsubscribe
remove
remove
(
cb
:
callback
<
Arg
>
)
:
void
Parameters
cb
:
callback
<
Arg
>
Returns
void
Settings
Member Visibility
Inherited
Deprecated
Theme
OS
Light
Dark
On This Page
Methods
add
remove
Editor Scripting API
Guide Docs
Lens Scripting API
Loading...
Represents the public api of an event.