a promise that resolves once the dock is deregistered
await Dock.deregister();
API function to minimize Dock
a promise that resolves once the dock is minimized
await Dock.minimize();
Registers a Dock provider
promise - invokes action
const provider: DockProvider = {
id: 'provider-id',
title: 'Sample Dock',
icon: 'https://www.openfin.co/favicon-32x32.png',
buttons: [
{
tooltip: 'Sample Button 1',
iconUrl: 'https://www.openfin.co/favicon-32x32.png',
action: {
id: 'sampleButton1'
}
}
]
};
await Dock.register(provider)
API function to show Dock
a promise that resolves once the dock is shown
await Dock.show();
Generated using TypeDoc
API function to Deregister a Dock provider