windowmanager.js
A framework to manage multiple dockable HTML windows.
This extension is designed to support multiple different different encapsulation runtimes.
See API Documentation for more information.
Runtimes supported:
Future runtimes:
Live Example
You can see a live demo at Eikos Partners Blotter Demonstration.
An open source example can be found at: https://github.com/aesalazar/windowmanagerjsdemo
A basic example to get started:
// Create a new window:
let childWindow = new windowmanager.Window({
url: "child.html", // Loads "child.html" based on the current window's url.
width: 500,
height: 500
});
// Execute code when window is ready for commands:
childWindow.onReady(() => {
childWindow.focus(); // Set focus to childWindow.
});Installing via NPM
Run npm install --save windowmanager
The windowmanager script is located in node_modules/windowmanager/dist/windowmanager.js.
Download Packaged Script
- Download either one of the following scripts from the dist folder (which contains the latest nightly version):
- Add the script to the your application. Do not add it to a builder, since bundling or compiling with babelify will break the script.