element-assits 0.0.26 → 0.0.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -0
- package/lib/index.js +1839 -1112
- package/lib/style.css +1 -1
- package/lib/style.scss +335 -139
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -174,6 +174,9 @@ props: {
|
|
|
174
174
|
},
|
|
175
175
|
```
|
|
176
176
|
|
|
177
|
+
### 开关 EaSwitch
|
|
178
|
+
额外支 size="mini" 尺寸
|
|
179
|
+
|
|
177
180
|
### 滚动容器 EaScroll
|
|
178
181
|
```
|
|
179
182
|
// el-scrollbar 衍生,优化样式
|
|
@@ -182,6 +185,31 @@ props: {
|
|
|
182
185
|
},
|
|
183
186
|
```
|
|
184
187
|
|
|
188
|
+
### 虚拟滚动 EaVirtualScroll
|
|
189
|
+
|
|
190
|
+
## props
|
|
191
|
+
| 属性名 | 说明 | 类型 | 默认值 |
|
|
192
|
+
|:---|:---|:---|:---|
|
|
193
|
+
|enableVirtualScroll|是否开启虚拟滚动|Boolean \| String|auto|
|
|
194
|
+
|options|选项列表|Array| [] |
|
|
195
|
+
|itemSize|单项高度|Number|30|
|
|
196
|
+
|redundancy|渲染总数,影响流畅度|Number|60|
|
|
197
|
+
|
|
198
|
+
### JsonSchema编辑器 EaJsonSchema
|
|
199
|
+
|
|
200
|
+
## props
|
|
201
|
+
| 属性名 | 说明 | 类型 | 默认值 |
|
|
202
|
+
|:---|:---|:---|:---|
|
|
203
|
+
|data|json-schema 数据|Object|{}|
|
|
204
|
+
|height|组件高度|Number| 500 |
|
|
205
|
+
|
|
206
|
+
## methods
|
|
207
|
+
| 方法名 | 说明 | 参数 |
|
|
208
|
+
|:---|:---|:---|
|
|
209
|
+
| validate | 数据验证,仅验证prop不能为空 | 无 |
|
|
210
|
+
| getData | 获取数据(配置结果) | 无 |
|
|
211
|
+
|
|
212
|
+
|
|
185
213
|
### 下拉框 EaSelect
|
|
186
214
|
```
|
|
187
215
|
// 允许异步数据,允许大数据量虚拟滚动
|