utils
Classes
EventEmitter<T>
Type Parameters
• T
Constructors
new EventEmitter()
Returns
EventEmitter
<T
>
Properties
listeners
Defined in
tmp/graph-editor/src/lib/graph-editor/render/sockets-position.ts/utils.ts:26
Methods
emit()
Parameters
• data: T
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/render/sockets-position.ts/utils.ts:28
listen()
Parameters
• handler
Returns
Function
Returns
void
Defined in
tmp/graph-editor/src/lib/graph-editor/render/sockets-position.ts/utils.ts:32
Functions
getElementCenter()
Parameters
• child: HTMLElement
• parent: HTMLElement
Returns
Promise
<object
>
x
y
Defined in
tmp/graph-editor/src/lib/graph-editor/render/sockets-position.ts/utils.ts:1