feat: add play in codesandbox

This commit is contained in:
Justineo
2021-09-15 19:19:09 +08:00
parent 1b98a996ff
commit 7b723e469b
11 changed files with 602 additions and 396 deletions

View File

@@ -34,7 +34,7 @@
| `select-on-focus` | `boolean` | `false` | 聚焦时是否自动选中数字输入框文本。 |
| `max` | `number` | - | 允许的最大值。 |
| `min` | `number` | - | 允许的最小值。 |
| `decimalPlace` | `number` | 0 | 数值的小数精度位数,默认精确到整数位,`-1` 表示不处理精度。 |
| `decimal-place` | `number` | 0 | 数值的小数精度位数,默认精确到整数位,`-1` 表示不处理精度。 |
^^^ui
预设样式。

View File

@@ -16,7 +16,7 @@
### 步进
使用 `step` 属性来指定步进值,使点击调节按钮或按下 <kbd></kbd><kbd></kbd> 键时根据指定步进值来调整输入值。
使用 `step` 属性来指定步进值,使点击调节按钮或按下 <kbd></kbd><kbd></kbd> 键时根据指定步进值来调整输入值。
[[ demo src="/demo/slider/steps.vue" ]]

View File

@@ -98,8 +98,8 @@
| -- | -- |
| `item` | [^item] |
| `item-label` | 每个节点的文本区域。作用域参数与 `item` 插槽一致。 |
| `item-prepend` | 每个节点的文本之前的区域。作用域参数与 `item` 插槽一致。 |
| `item-append` | 每个节点的文本之后的区域。作用域参数与 `item` 插槽一致。 |
| `item-before` | 每个节点的文本之前的区域。作用域参数与 `item` 插槽一致。 |
| `item-after` | 每个节点的文本之后的区域。作用域参数与 `item` 插槽一致。 |
^^^item
每个节点的整个内容区域。