Home Reference Source

Function

Static Public Summary
public

filemanager - dragging and dropping files handler/listener

public
public

GlGuiTab(tabs: *)

public

PatchConnectionReceiver(patch: *, options: *, connector: *)

public
public
public
public

bytesArrToBase64(arr: *): *

public

convertPorts(p1: *, p2: *, converter: *)

public

escapeHTML(string: *): *

public
public
public

extending core classes for helper functions which will be only available in ui/editor mode

public

getConverters(p1: *, p2: *): *

public

getHandleBarHtml(name: *, obj: *): *

public
public

hideNotificaton(toastId: *)

public
public
public

notify(title: *, text: *, options: NotificationDisplayOptions): *

notify displays a toast-notification

public

notifyError(title: *, text: *, options: NotificationDisplayOptions): *

notifyError displays an error as a toast-notification

public

notifyWarn(title: *, text: *, options: {}): *

public

handle global html events like uncaught exceptions, contextmenu, resize etc

public

showInfo(txt: *, param: *)

public

showToolTip(e: *, txt: *, nopadding: *)

public
public

startUi(cfg: *)

manage the start of the ui/editor

public

uniqueArray(arr: *): *

public

updateHoverToolTip(event: *, port: *, overlink: *)

public

valueChanger(eleId: *, focus: *, portName: *, opid: *)

mouse and keyboard interactions with port parameters

Static Public

public DragNDrop() source

filemanager - dragging and dropping files handler/listener

public GlGuiFull() source

import GlGuiFull from './ui/glpatch/gluifull.js'

public GlGuiTab(tabs: *) source

import GlGuiTab from './ui/glpatch/gluitab.js'

Params:

NameTypeAttributeDescription
tabs *

public PatchConnectionReceiver(patch: *, options: *, connector: *) source

import {PatchConnectionReceiver} from './ui/multiplayer/patchconnection.js'

Params:

NameTypeAttributeDescription
patch *
options *
connector *

public PatchConnectionSender(patch: *) source

import {PatchConnectionSender} from './ui/multiplayer/patchconnection.js'

Params:

NameTypeAttributeDescription
patch *

public PatchConnectorBroadcastChannel() source

import {PatchConnectorBroadcastChannel} from './ui/multiplayer/patchconnection.js'

public TimeLineGui() source

import TimeLineGui from './ui/components/timelinesvg/timeline.js'

public bytesArrToBase64(arr: *): * source

import {bytesArrToBase64} from './ui/api/patchserverapi.js'

Params:

NameTypeAttributeDescription
arr *

Return:

*

public convertPorts(p1: *, p2: *, converter: *) source

import {convertPorts} from './ui/components/converterops.js'

Params:

NameTypeAttributeDescription
p1 *
p2 *
converter *

public escapeHTML(string: *): * source

import {escapeHTML} from './ui/utils/helper.js'

Params:

NameTypeAttributeDescription
string *

Return:

*

public extendCoreAnim() source

public extendCoreOp() source

import extendCoreOp from './ui/core_extend_op.js'

public extendCorePatch() source

import extendCorePatch from './ui/core_extend_patch.js'

extending core classes for helper functions which will be only available in ui/editor mode

public getConverters(p1: *, p2: *): * source

import {getConverters} from './ui/components/converterops.js'

Params:

NameTypeAttributeDescription
p1 *
p2 *

Return:

*

public getHandleBarHtml(name: *, obj: *): * source

import {getHandleBarHtml} from './ui/utils/handlebars.js'

Params:

NameTypeAttributeDescription
name *
obj *

Return:

*

public hideInfo() source

import {hideInfo} from './ui/elements/tooltips.js'

public hideNotificaton(toastId: *) source

import {hideNotificaton} from './ui/elements/notification.js'

Params:

NameTypeAttributeDescription
toastId *

public hideToolTip() source

import {hideToolTip} from './ui/elements/tooltips.js'

public initSplitPanes() source

import initSplitPanes from './ui/elements/splitpane.js'

public notify(title: *, text: *, options: NotificationDisplayOptions): * source

import {notify} from './ui/elements/notification.js'

notify displays a toast-notification

Params:

NameTypeAttributeDescription
title *
text *
options NotificationDisplayOptions

The option object.

Return:

*

Example:

notify("update", "cables has been updated",
{
    "timeout": 1000,
    "closeable": false
});

public notifyError(title: *, text: *, options: NotificationDisplayOptions): * source

import {notifyError} from './ui/elements/notification.js'

notifyError displays an error as a toast-notification

Params:

NameTypeAttributeDescription
title *
text *
options NotificationDisplayOptions

The option object.

Return:

*

Example:

notifyError("error", "something broke",
{
    "timeout": false,
    "closeable": true,
});

public notifyWarn(title: *, text: *, options: {}): * source

import {notifyWarn} from './ui/elements/notification.js'

Params:

NameTypeAttributeDescription
title *
text *
options {}
  • optional
  • default: {}

Return:

*

public setHtmlDefaultListeners() source

import setHtmlDefaultListeners from './ui/components/htmldefaultlisteners.js'

handle global html events like uncaught exceptions, contextmenu, resize etc

public showInfo(txt: *, param: *) source

import {showInfo} from './ui/elements/tooltips.js'

Params:

NameTypeAttributeDescription
txt *
param *

public showToolTip(e: *, txt: *, nopadding: *) source

import {showToolTip} from './ui/elements/tooltips.js'

Params:

NameTypeAttributeDescription
e *
txt *
nopadding *

public startIdleListeners() source

import startIdleListeners from './ui/components/idlemode.js'

public startUi(cfg: *) source

import startUi from './ui/startgui.js'

manage the start of the ui/editor

Params:

NameTypeAttributeDescription
cfg *

public uniqueArray(arr: *): * source

import {uniqueArray} from './ui/utils/helper.js'

Params:

NameTypeAttributeDescription
arr *

Return:

*

public updateHoverToolTip(event: *, port: *, overlink: *) source

import {updateHoverToolTip} from './ui/elements/tooltips.js'

Params:

NameTypeAttributeDescription
event *
port *
overlink *

public valueChanger(eleId: *, focus: *, portName: *, opid: *) source

mouse and keyboard interactions with port parameters

Params:

NameTypeAttributeDescription
eleId *
focus *
portName *
opid *