Interface: LayoutViewDomProps
Defined in: LayoutViewDom.tsx:70
库的(唯一)渲染组件的 props
Properties
initialLayout?
optionalinitialLayout?:InitialLayout
Defined in: LayoutViewDom.tsx:85
初始布局:组件挂载时若 store 仍为原始默认布局 则应用(声明式,见 InitialLayout)。 仅「仍是默认」时生效,交互过或重挂载不会把用户已改的布局冲回初始值。
positioning?
optionalpositioning?:"absolute"|"flow"
Defined in: LayoutViewDom.tsx:80
容器定位策略:
- "absolute"(默认):铺满最近 positioned 祖先的 padding-box(需父元素有定位上下文)
- "flow":正常文档流元素,宽高 100% 撑满父元素 content-box —— 父元素无需 position, padding 自动内缩舞台、margin 天然在外侧。要求父级有确定高度(否则塌 0 高, 库会 console.warn 提示)。
slots?
optionalslots?:RenderSlots
Defined in: LayoutViewDom.tsx:74
渲染插槽(定制头部/角标/分界线/区域盒/预览层;不传用默认外观)