RedDokia API Reference / RedDokiaViewMountHandler
Type Alias: RedDokiaViewMountHandler<TParams>
ts
type RedDokiaViewMountHandler<TParams> = (container, context) =>
| void
| (() => void)
| RedDokiaViewLifecycle<TParams>;Function signature for mounting a framework-agnostic view into its persistent HTMLElement host container.
Type Parameters
| Type Parameter | Default type |
|---|---|
TParams | Record<string, any> |
Parameters
| Parameter | Type |
|---|---|
container | HTMLElement |
context | RedDokiaViewRenderProps<TParams> |
Returns
| void | (() => void) | RedDokiaViewLifecycle<TParams>