Skip to content

RedDokia API 레퍼런스 / RedDokiaViewMountHandler

타입 별칭: RedDokiaViewMountHandler<TParams> ​

ts
type RedDokiaViewMountHandler<TParams> = (container, context) => 
  | void
  | (() => void)
| RedDokiaViewLifecycle<TParams>;

영구 HTMLElement 호스트 컨테이너에 프레임워크 중립 뷰를 마운트하는 함수 시그니처입니다.

타입 매개변수 ​

타입 매개변수기본 유형
TParamsRecord<string, any>

매개변수 ​

매개변수유형
containerHTMLElement
contextRedDokiaViewRenderProps<TParams>

반환 형식: ​

| void | (() => void) | RedDokiaViewLifecycle<TParams>