Skip to main content

EngineInterface

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new EngineInterface(uid, opts?)

Parameters

NameType
uidstring
opts?KeyValue

Overrides

EventEmitter.constructor

Properties

opts

Readonly opts: KeyValue


uid

Readonly uid: string

Methods

close

close(): void

Close the input and event handler

Returns

void


closeAllControls

closeAllControls(): void

Close all controls

Returns

void


deregisterControl

deregisterControl(uid): void

Deregister

Parameters

NameType
uidstring

Returns

void


listenForControls

listenForControls(uids): void

Listen for events from only certain uids

Parameters

NameType
uidsstring[]

Returns

void


off

off(event, handler): any

Parameters

NameType
eventstring
handlerany

Returns

any

Inherited from

EventEmitter.off


on

on(event, handler): any

Parameters

NameType
eventstring
handlerany

Returns

any

Inherited from

EventEmitter.on


registerControl

registerControl(uid): EngineInterfaceControl

Register a control

Parameters

NameType
uidstring

Returns

EngineInterfaceControl


registerControls

registerControls(uids): EngineInterfaceControl[]

Register multiple controls

Parameters

NameType
uidsstring[]

Returns

EngineInterfaceControl[]


render

render(sender, params?): void

Render the controls using the provided params

Parameters

NameType
senderstring
params?KeyValue[]

Returns

void


renderBulk

renderBulk(properties?): void

Parameters

NameType
properties?KeyValue[]

Returns

void


reset

reset(): void

Reset the controls

Returns

void