Editor Scripting API
Guide Docs
Preparing search index...
The search index is not available
Lens Scripting API
Lens Scripting API
Packages/SpectaclesInteractionKit/Utils/Event
PublicApi
InterfacePublicApi<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
Public
Api
(
cb
)
:
unsubscribe
Parameters
cb
:
callback
<
Arg
>
Returns
unsubscribe
Index
Methods
add
remove
Methods
add
add
(
cb
)
:
unsubscribe
Parameters
cb
:
callback
<
Arg
>
Returns
unsubscribe
remove
remove
(
cb
)
:
void
Parameters
cb
:
callback
<
Arg
>
Returns
void
Settings
Member Visibility
Inherited
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.