Skip to content

Commit

Permalink
更新 Web Components
Browse files Browse the repository at this point in the history
  • Loading branch information
沫烬染 committed Jan 18, 2024
1 parent 89b1200 commit 51a7c0f
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions src/docs/Web-Components.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
# Web Components

::: warning 警告
此文档为 LiteLoaderQQNT 1.0.0 编写
:::



## 介绍

LiteLoaderQQNT 使用 Web Components 封装了 QQNT 设置界面的一些组件,使你能够简单且快速的构建 QQNT 原生样式的插件配置界面

自定义标签全部由 `setting-` 开头,自定义属性全部由 `data-` `is-` 开头并且是响应式,以下是已封装实现的组件标签名

- setting-section - 每一节的设置
- setting-panel - 选项容器
- setting-list - 选项列表
- setting-item - 选项条目
- setting-select - 下拉选择框
- setting-option - 选择框选项
- setting-switch - 开关按钮
- setting-button - 普通按钮
- setting-text - 文本
- setting-divider - 分割线



## 用法

正在施工中...

0 comments on commit 51a7c0f

Please sign in to comment.