我的文件庫

多根目錄側邊欄

flex-layout

  • Getting Started

  • Guides

  • Reference

typed-rx-http

  • Getting Started

  • Guides

  • Reference

global-rx-state

  • Getting Started

  • Guides

  • Reference

webflux-fe-dev-assistant

reactive-mongo-dsl

打開 / 關閉面板

以命令式事件折疊和展開容器。


使用 containerOpenCloseSubjectMap

每個容器是 ContainerOpenCloseProvider由內部主題準備的。外部按鈕發送 containerOpenCloseSubjectMap[containerName].next(...)open/close/toggle 命令.

tsx
ContainerStateRequest 核心選項

mode

open, close, toggle 중 하나입니다.

initOpenState

초기 open 상태를 함께 전달할 때 사용합니다.

openOption

열릴 때 전달되는 옵션입니다. 이전 크기로 열고 싶다면 isPrevSizeOpen을 사용합니다.

closeOption

닫힐 때 전달되는 옵션입니다. 닫을 때 grow를 어떻게 계산할지 조정합니다.

onOpen / onClose

열림/닫힘 처리가 끝난 뒤 호출되는 콜백입니다.

雙擊切換
tsx
© 2026 Byeolnaerim. 版權所有。介紹隱私政策