Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

References

Re-exports DockButton
Re-exports DockButtonConfig
Re-exports DockButtonNames
Re-exports DockDropdownConfig
Re-exports DockProvider
Re-exports WorkspaceComponentButtonOptions

Functions

  • deregister(): Promise<void>
  • Deregister a Dock provider

    Returns Promise<void>

    promise - invokes action

    await Dock.deregister();
    
  • minimize(): Promise<void>
  • API function to minimize Dock

    Returns Promise<void>

    promise - invokes action

    await Dock.minimize();
    
  • Registers a Dock provider

    Parameters

    Returns Promise<RegistrationMetaInfo>

    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)
  • show(): Promise<void>
  • Shows Dock window if enabled & registered

    Returns Promise<void>

    promise - invokes action

    await Dock.show();
    

Generated using TypeDoc