1.0.1 • Published 6 years ago
lxcomponent v1.0.1
ComponmentPlugin README
This is the README for your extension "ComponmentPlugin". After writing up a brief description, we recommend including the following sections.
Usage
定义组件
"lx-label": {
"attributes": [
"title",
"padding",
"background"
],
"defaults": [
"title"
],
"description": "label componment",
"version": "1.0.0"
},
组件属性设置
"title":{
"description":"displayed text"
}
"disabled": {
"type": "boolean",
"description":"attribute is bool type"
}
Tip: attribute:组件支持的所有属性 defaults:组件自动补全默认带出的属性 option:属性可选值 type:为bool值,属性为true or false
属性 | 描述 | 备注 |
---|---|---|
attributes | 组件支持的所有属性 | 必填 |
defaults | 自动补全带出的默认属性 | 必填 |
description | 组件简介 | 可选 |
version | 版本号 | 可选 |