Function
| Static Public Summary | ||
| public |
Handles dragging and dropping files onto the editor to upload them. |
|
| public |
PatchConnectionReceiver(patch: any, options: any, connector: any) |
|
| public |
PatchConnectionSender(patch: any) |
|
| public |
|
|
| public |
bytesArrToBase64(arr: *): * |
|
| public |
codeWatcher(port: Port): * |
|
| public |
convertPorts(p1: *, p2: *, converter: *) |
|
| public |
createEditor(options: EditorOptions): EditorBase |
|
| public |
createOpDocButton(tab: import("../elements/tabpanel/tab.js").default, editor: EditorBase) |
|
| public |
escapeHTML(string: *): * |
|
| public |
|
|
| public |
getConverters(p1: Port, p2: Port): * |
|
| public |
getHandleBarHtml(name: string, obj: object): * |
|
| public |
handleBarPrecompiled(name: *): * |
|
| public |
hideInfo() |
|
| public |
hideNotificaton(toastId: *) |
|
| public |
|
|
| public |
|
|
| public |
isFocusOnEditor(): * |
|
| 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: string, options: {}): * |
|
| public |
Sets up global html event listeners like uncaught exceptions, contextmenu, resize etc. |
|
| public |
setUpTheme(theme: {}): * |
|
| public |
showInfo(txt: string, param: boolean) |
|
| public |
showShaderError(shader: *) |
|
| public |
showShaderErrorCgp(shader: CgpShader, nfo: GPUCompilationInfo, src: *) |
|
| public |
showToolTip(e: object, txt: string, nopadding: boolean) |
|
| public |
|
|
| public |
startUi(cfg: *) Starts the ui/editor. |
|
| public |
updateHoverToolTip(event: MouseEvent | Object, port: import("cables").Port, overlink: boolean | import("../glpatch/gllink.js").default) |
|
| public |
valueChanger(eleId: string, focus: boolean, portName: string, opid: string) mouse and keyboard interactions with port parameters |
|
Static Public
public DragNDrop() source
import DragNDrop from './ui/components/filemanager_dragdrop.js'Handles dragging and dropping files onto the editor to upload them.
public PatchConnectionReceiver(patch: any, options: any, connector: any) source
import {PatchConnectionReceiver} from './ui/socketcluster/patchconnection.js'Params:
| Name | Type | Attribute | Description |
| patch | any | ||
| options | any | ||
| connector | any |
public PatchConnectionSender(patch: any) source
import {PatchConnectionSender} from './ui/socketcluster/patchconnection.js'Params:
| Name | Type | Attribute | Description |
| patch | any |
public PatchConnectorBroadcastChannel() source
import {PatchConnectorBroadcastChannel} from './ui/socketcluster/patchconnection.js'public bytesArrToBase64(arr: *): * source
import {bytesArrToBase64} from './ui/api/patchserverapi.js'Params:
| Name | Type | Attribute | Description |
| arr | * |
Return:
| * |
public codeWatcher(port: Port): * source
import {codeWatcher} from './ui/components/editor.js'Params:
| Name | Type | Attribute | Description |
| port | Port |
Return:
| * |
public convertPorts(p1: *, p2: *, converter: *) source
import {convertPorts} from './ui/components/converterops.js'Params:
| Name | Type | Attribute | Description |
| p1 | * | ||
| p2 | * | ||
| converter | * |
public createEditor(options: EditorOptions): EditorBase source
import {createEditor} from './ui/components/editor.js'Params:
| Name | Type | Attribute | Description |
| options | EditorOptions |
public createOpDocButton(tab: import("../elements/tabpanel/tab.js").default, editor: EditorBase) source
import {createOpDocButton} from './ui/components/editor.js'Params:
| Name | Type | Attribute | Description |
| tab | import("../elements/tabpanel/tab.js").default | ||
| editor | EditorBase |
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 getConverters(p1: Port, p2: Port): * source
import {getConverters} from './ui/components/converterops.js'Params:
| Name | Type | Attribute | Description |
| p1 | Port | ||
| p2 | Port |
Return:
| * |
public getHandleBarHtml(name: string, obj: object): * source
import {getHandleBarHtml} from './ui/utils/handlebars.js'Params:
| Name | Type | Attribute | Description |
| name | string | ||
| obj | object |
Return:
| * |
public handleBarPrecompiled(name: *): * source
import {handleBarPrecompiled} from './ui/utils/handlebars.js'Params:
| Name | Type | Attribute | Description |
| name | * |
Return:
| * |
public hideNotificaton(toastId: *) source
import {hideNotificaton} from './ui/elements/notification.js'Params:
| Name | Type | Attribute | Description |
| toastId | * |
public isFocusOnEditor(): * source
import {isFocusOnEditor} from './ui/components/editor.js'Return:
| * |
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: string, options: {}): * source
import {notifyWarn} from './ui/elements/notification.js'Params:
| Name | Type | Attribute | Description |
| title | * | ||
| text | string |
|
|
| options | {} |
|
Return:
| * |
public setHtmlDefaultListeners() source
import setHtmlDefaultListeners from './ui/components/htmldefaultlisteners.js'Sets up global html event listeners like uncaught exceptions, contextmenu, resize etc.
public setUpTheme(theme: {}): * source
import {setUpTheme} from './ui/theme.js'Params:
| Name | Type | Attribute | Description |
| theme | {} |
|
Return:
| * |
public showInfo(txt: string, param: boolean) source
import {showInfo} from './ui/elements/tooltips.js'Params:
| Name | Type | Attribute | Description |
| txt | string | ||
| param | boolean |
|
public showShaderError(shader: *) source
import {showShaderError} from './ui/dialogs/modalshadererrorgl.js'Params:
| Name | Type | Attribute | Description |
| shader | * |
public showShaderErrorCgp(shader: CgpShader, nfo: GPUCompilationInfo, src: *) source
import {showShaderErrorCgp} from './ui/dialogs/modalshadererrorcgp.js'Params:
| Name | Type | Attribute | Description |
| shader | CgpShader | ||
| nfo | GPUCompilationInfo | ||
| src | * |
public showToolTip(e: object, txt: string, nopadding: boolean) source
import {showToolTip} from './ui/elements/tooltips.js'Params:
| Name | Type | Attribute | Description |
| e | object | ||
| txt | string | ||
| nopadding | boolean |
|
public startUi(cfg: *) source
import startUi from './ui/startgui.js'Starts the ui/editor.
Params:
| Name | Type | Attribute | Description |
| cfg | * |
public updateHoverToolTip(event: MouseEvent | Object, port: import("cables").Port, overlink: boolean | import("../glpatch/gllink.js").default) source
import {updateHoverToolTip} from './ui/elements/tooltips.js'Params:
| Name | Type | Attribute | Description |
| event | MouseEvent | Object | ||
| port | import("cables").Port | ||
| overlink | boolean | import("../glpatch/gllink.js").default |
public valueChanger(eleId: string, focus: boolean, portName: string, opid: string) source
import valueChanger from './ui/components/opparampanel/valuechanger.js'mouse and keyboard interactions with port parameters
Params:
| Name | Type | Attribute | Description |
| eleId | string | ||
| focus | boolean | ||
| portName | string | ||
| opid | string |