Glue42 Web

1.3.1

Glue42 Web allows JavasScript applications to integrate with other applications, part of the same Glue42 Core project via a set of APIs. With Glue42 Web you can share data with other applications, expose functionality, manage windows and notifications.

Referencing

Glue42 Web is available both as a single JavaScript file which you can include into your web applications using a <script> tag, and as a node.js module. You can use Glue42 Web in a script tag include, e.g.:

object

Properties

Object used to turn on or off the applications auto-save and auto-restore functionality

boolean

Whether to initialize the Channels API or not.

Default: false

boolean

Whether to initialize the Application Manager API or not.

Default: false

string

Application name. If not specified the Application Manager API won’t know about the application and its instances.

todo: An object exposing settings related to the Glue42 Core resources.

((glue: API, config?: Config) => Promise<void>)[]

A list of glue libraries which will be initiated internally and provide access to specific functionalities

object

methoddone
() => Promise<void>

Description

Disposes Glue42 API. This will remove all Interop methods and streams registered by the application.

Returns

Promise<void>

Properties

Interop library.

Interop library.

Contexts library.

(info?: FeedbackInfo) => void

Brings up the Glue42 Desktop feedback dialog.

object

Info object containing versions of all included libraries and Glue42 itself.

string

Glue42 version.

object

Properties

boolean

If true, the set of windows opened by the application will be saved (in local storage) when the window is closed and restored when the window is started again. The data saved about each window includes URL, bounds and custom window context. It will also save and restore the window context of the current window.

Default: false

boolean

If set to true, will return glue.windows.my().context automatically when asked for layout state.

Default: false

object

Properties

string

This defines the location of the Glue42 Core assets bundle (glue.layouts.json, glue.config.json, workspaces app and more).

Default: "/glue"

boolean

If set to true the initialization logic will fetch the glue.config.json and use the defined glue object there to extend the provided config. We recommend setting this to false if you do not have a glue.config.json.

Default: true