Type alias TRenderFunctionResult

TRenderFunctionResult: {
    onDestroy?: (() => Promise<boolean>);
    onHide?: (() => Promise<boolean>);
    onShow?: (() => Promise<void>);
}

Type which is used to render an custom html code. Must return a function, which will be called if the panel is destroyed.

Result, that must be provided by the Render Function.

Type declaration

  • Optional onDestroy?: (() => Promise<boolean>)
      • (): Promise<boolean>
      • Callback, which is called on destroyed

        Returns Promise<boolean>

  • Optional onHide?: (() => Promise<boolean>)
      • (): Promise<boolean>
      • Callback, which is called, if the panel is hide

        Returns Promise<boolean>

  • Optional onShow?: (() => Promise<void>)
      • (): Promise<void>
      • Callback, which is calle, if the Element is rendered.

        Returns Promise<void>

Generated using TypeDoc