Skip to content
通用与布局

NnSettings 设置布局

扁平设置页的响应式容器。

示例

API

扁平设置页的全宽布局容器。组件会建立名为 nn-settings 的 inline-size 容器,使内部 section 和 item 按实际可用宽度响应,而不是只依赖视口宽度。

Slots

名称作用域参数说明
default通常放置一个或多个 NnSettingsSection

根节点固定提供 data-nn-settings,其他原生属性会按 Vue 单根组件规则落到根节点。

Released under the MIT License.