Search
Preparing search index...
The search index is not available
Vertex Viewer SDK
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Vertex Viewer SDK
Utils
EventDispatcher
Class EventDispatcher<T>
Type Parameters
T
Hierarchy
EventDispatcher
Index
Constructors
constructor
Methods
emit
off
on
once
once
When
when
Constructors
constructor
new
Event
Dispatcher
<
T
>
(
)
:
EventDispatcher
<
T
>
Type Parameters
T
Returns
EventDispatcher
<
T
>
Methods
emit
emit
(
event
:
T
)
:
void
Parameters
event:
T
Returns
void
off
off
(
listener
:
Listener
<
T
>
)
:
void
Parameters
listener:
Listener
<
T
>
Returns
void
on
on
(
listener
:
Listener
<
T
>
, opts
?:
OnOptions
)
:
Disposable
Parameters
listener:
Listener
<
T
>
opts:
OnOptions
= {}
Returns
Disposable
once
once
(
opts
?:
OnOptions
)
:
Promise
<
T
>
Parameters
opts:
OnOptions
= {}
Returns
Promise
<
T
>
once
When
once
When
(
predicate
:
Predicate
<
T
>
, opts
?:
OnOptions
)
:
Promise
<
T
>
Parameters
predicate:
Predicate
<
T
>
opts:
OnOptions
= {}
Returns
Promise
<
T
>
when
when
(
predicate
:
Predicate
<
T
>
, listener
:
Listener
<
T
>
, opts
?:
OnOptions
)
:
Disposable
Parameters
predicate:
Predicate
<
T
>
listener:
Listener
<
T
>
opts:
OnOptions
= {}
Returns
Disposable
Modules
Geometry
Stream API
Utils
Async
Binary
Reader
Color
Event
Targets
Mapper
Objects
Range
Sets
Strings
UUID
Uri
Viewer
Event
Dispatcher
constructor
emit
off
on
once
once
When
when