Type alias TRenderFunction<I, O, D>
TRenderFunction<I, O, D>: ((div, options) => Promise<O>)
Type declaration
-
- (div, options): Promise<O>
-
Parameters
-
div: HTMLDivElement
-
options: {
input: I;
layout: IBasicLayoutComponent<D>;
setVisibilityOfPanel: ((value) => void);
}
-
input: I
-
-
setVisibilityOfPanel: ((value) => void)
-
- (value): void
-
Returns void
Returns 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.