Type alias TRenderFunction<I, O, D>

TRenderFunction<I, O, D>: ((div, options) => Promise<O>)

Type Parameters

Type declaration

    • (div, options): Promise<O>
    • Type which is used to render an custom html code. Must return a function, which will be called if the panel is destroyed.

      Parameters

      • div: HTMLDivElement
      • options: {
            input: I;
            layout: IBasicLayoutComponent<D>;
            setVisibilityOfPanel: ((value) => void);
        }
        • input: I
        • layout: IBasicLayoutComponent<D>
        • setVisibilityOfPanel: ((value) => void)
            • (value): void
            • Parameters

              • value: boolean

              Returns void

      Returns Promise<O>

Generated using TypeDoc