RedDokia API 레퍼런스 / RedDokiaSlotLifecycle
인터페이스: RedDokiaSlotLifecycle<TContext>
커스텀 DOM 슬롯 콜백(topBar.left/right, statusBar.left/right, emptyContents)이 반환할 수 있는 생명주기 핸들입니다.
타입 매개변수
| 타입 매개변수 | 기본 유형 |
|---|---|
TContext | RedDokiaController |
속성
| 속성 | 유형 | 설명 |
|---|---|---|
unmount? | () => void | 슬롯 DOM이 해제될 때 호출됩니다. |
update? | (ctx) => void | 슬롯 컨텍스트가 갱신될 때 호출됩니다. |