Skip to content

pantoken-root / plugins/pantoken/layouts/src / PageLayout

接口: PageLayout ​

Beta

入门页面布局:由现有组件的简单组合构成,不添加新的 CSS 选择器。

属性 ​

name ​

name: string

Beta

稳定 ID,与源文件名匹配(例如 "hero")。


title ​

title: string

Beta

在布局选择器中显示的标签。


html ​

html: string

Beta

布局的原始 HTML,由 @pantoken/components 类构建。


imagePlaceholders? ​

optional imagePlaceholders?: readonly PageLayoutImagePlaceholder[]

Beta

消费者可在无需提供者特定 URL 的情况下实例化的图像插槽。