Interface ILayoutOptions<D>

Options for a Layout

Export

ILayoutOptions

Template

The Template Element.

Type Parameters

Hierarchy

  • ILayoutOptions

Properties

adaptData: IAdaptDataCallback<D>

An addtional Function which will be called before a Callback of the Context-Menu or Toolbar will be called.

Memberof

ILayoutOptions

dispose?: (() => Promise<void>)

Type declaration

    • (): Promise<void>
    • Function, which will be called before the Componented is getting destroyed. This function could be used to clean up everything

      Memberof

      ILayoutOptions

      Returns Promise<void>

fullScreen?: boolean

Boolean to toggle the FullScreen

Author

M.Karkowski

Memberof

ILayoutOptions

hotkeys?: IHotKeyAction<D>[]

Optional Hotkey, which will triggerd custom Functions

Memberof

ILayoutOptions

id?: string

Define a custom ID.

onEditModeChanged?: ((editingEnabled) => Promise<void>)

Type declaration

    • (editingEnabled): Promise<void>
    • Callback, which will be used to provide the actual Editmode.

      Memberof

      ILayoutOptions

      Parameters

      • editingEnabled: boolean

      Returns Promise<void>

onReady?: (() => Promise<void>)

Type declaration

    • (): Promise<void>
    • Called if the layout is ready

      Author

      M.Karkowski

      Memberof

      ILayoutOptions

      Returns Promise<void>

onResized?: ((panels) => Promise<void>)

Type declaration

    • (panels): Promise<void>
    • Optional callback which will be called it a resize event occours.

      Memberof

      ILayoutOptions

      Parameters

      Returns Promise<void>

panels: IPanel[]

A List containing all Panels, which should be generaged

Memberof

ILayoutOptions

showToggleElements?: boolean

Helper to show the Toggle Elements or not.

title: string

The Title which will be shown on the Top. If not present, no titlebar will be shown

Memberof

ILayoutOptions

toolbar?: {
    config: IToolbarConfig<D>;
    panel: types.ui.layout.ValidPanels;
}

Configuration of the Toolbar.

Memberof

ILayoutOptions

Type declaration

Generated using TypeDoc