My Library Docs

Multi-root Sidebar

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

Open / Close Panels

Collapse and expand the container with imperative events.


Use containerOpenCloseSubjectMap

Each container is ContainerOpenCloseProviderprepared by the internal subject. External buttons send containerOpenCloseSubjectMap[containerName].next(...)open/close/toggle commands.

tsx
ContainerStateRequest core options

mode

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

initOpenState

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

openOption

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

closeOption

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

onOpen / onClose

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

Double click toggle
tsx
© 2026 Byeolnaerim. All rights reserved.IntroductionPrivacy Policy