Function
Static Public Summary | ||
public |
filemanager - dragging and dropping files handler/listener |
|
public |
|
|
public |
GlGuiTab(tabs: *) |
|
public |
PatchConnectionReceiver(patch: *, options: *, connector: *) |
|
public |
PatchConnectionSender(patch: *) |
|
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 |
hideInfo() |
|
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
import DragNDrop from './ui/components/filemanager_dragdrop.js'
filemanager - dragging and dropping files handler/listener
public GlGuiTab(tabs: *) source
import GlGuiTab from './ui/glpatch/gluitab.js'
Params:
Name | Type | Attribute | Description |
tabs | * |
public PatchConnectionReceiver(patch: *, options: *, connector: *) source
import {PatchConnectionReceiver} from './ui/multiplayer/patchconnection.js'
Params:
Name | Type | Attribute | Description |
patch | * | ||
options | * | ||
connector | * |
public PatchConnectionSender(patch: *) source
import {PatchConnectionSender} from './ui/multiplayer/patchconnection.js'
Params:
Name | Type | Attribute | Description |
patch | * |
public PatchConnectorBroadcastChannel() source
import {PatchConnectorBroadcastChannel} from './ui/multiplayer/patchconnection.js'
public bytesArrToBase64(arr: *): * source
import {bytesArrToBase64} from './ui/api/patchserverapi.js'
Params:
Name | Type | Attribute | Description |
arr | * |
Return:
* |
public convertPorts(p1: *, p2: *, converter: *) source
import {convertPorts} from './ui/components/converterops.js'
Params:
Name | Type | Attribute | Description |
p1 | * | ||
p2 | * | ||
converter | * |
public escapeHTML(string: *): * source
import {escapeHTML} from './ui/utils/helper.js'
Params:
Name | Type | Attribute | Description |
string | * |
Return:
* |
public extendCoreAnim() source
import extendCoreAnim from './ui/components/timelinesvg/core_anim_extend.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:
Name | Type | Attribute | Description |
p1 | * | ||
p2 | * |
Return:
* |
public getHandleBarHtml(name: *, obj: *): * source
import {getHandleBarHtml} from './ui/utils/handlebars.js'
Params:
Name | Type | Attribute | Description |
name | * | ||
obj | * |
Return:
* |
public hideNotificaton(toastId: *) source
import {hideNotificaton} from './ui/elements/notification.js'
Params:
Name | Type | Attribute | Description |
toastId | * |
public notify(title: *, text: *, options: NotificationDisplayOptions): * source
import {notify} from './ui/elements/notification.js'
notify displays a toast-notification
Params:
Name | Type | Attribute | Description |
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:
Name | Type | Attribute | Description |
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:
Name | Type | Attribute | Description |
title | * | ||
text | * | ||
options | {} |
|
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:
Name | Type | Attribute | Description |
txt | * | ||
param | * |
public showToolTip(e: *, txt: *, nopadding: *) source
import {showToolTip} from './ui/elements/tooltips.js'
Params:
Name | Type | Attribute | Description |
e | * | ||
txt | * | ||
nopadding | * |
public startUi(cfg: *) source
import startUi from './ui/startgui.js'
manage the start of the ui/editor
Params:
Name | Type | Attribute | Description |
cfg | * |
public uniqueArray(arr: *): * source
import {uniqueArray} from './ui/utils/helper.js'
Params:
Name | Type | Attribute | Description |
arr | * |
Return:
* |
public updateHoverToolTip(event: *, port: *, overlink: *) source
import {updateHoverToolTip} from './ui/elements/tooltips.js'
Params:
Name | Type | Attribute | Description |
event | * | ||
port | * | ||
overlink | * |
public valueChanger(eleId: *, focus: *, portName: *, opid: *) source
import valueChanger from './ui/components/opparampanel/valuechanger.js'
mouse and keyboard interactions with port parameters
Params:
Name | Type | Attribute | Description |
eleId | * | ||
focus | * | ||
portName | * | ||
opid | * |