collapsemode(【collapseMode】)

发布时间:2025-12-10 19:54:11 浏览次数:3

【collapseMode】-

【collapseMode】Important:thisconfigisonlyeffectivefor collapsible Panelswhicharedirectchilditemsofa borderlayout.When not adirectchilditemofa borderlayout,thenthePanel’sheaderremainsvisib…

Important: this config is only effective forcollapsiblePanels which are direct child items of aborder layout.

Whennota direct child item of aborder layout, then the Panel’s header remains visible, and the body is collapsed to zero dimensions. If the Panel has no header, then a new header (orientated correctly depending on thecollapseDirection) will be inserted to show a the title and a re- expand tool.

When a child item of aborder layout, this config has three possible values:

undefined– When collapsed, a placeholderHeaderis injected into the layout to represent the Panel and to provide a UI with a Tool to allow the user to re-expand the Panel.

"header"– The Panel collapses to leave its header visible as when not inside aborder layout.

"mini"– The Panel collapses without a visible header.

需要做网站?需要网络推广?欢迎咨询客户经理 13272073477