feat: add play in codesandbox
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
| `select-on-focus` | `boolean` | `false` | 聚焦时是否自动选中数字输入框文本。 |
|
||||
| `max` | `number` | - | 允许的最大值。 |
|
||||
| `min` | `number` | - | 允许的最小值。 |
|
||||
| `decimalPlace` | `number` | 0 | 数值的小数精度位数,默认精确到整数位,`-1` 表示不处理精度。 |
|
||||
| `decimal-place` | `number` | 0 | 数值的小数精度位数,默认精确到整数位,`-1` 表示不处理精度。 |
|
||||
|
||||
^^^ui
|
||||
预设样式。
|
||||
|
@@ -16,7 +16,7 @@
|
||||
|
||||
### 步进
|
||||
|
||||
使用 `step` 属性来指定步进值,使点击调节按钮或按下 <kbd>▴</kbd>、<kbd>▾</kbd> 键时根据指定步进值来调整输入值。
|
||||
使用 `step` 属性来指定步进值,使点击调节按钮或按下 <kbd>←</kbd>、<kbd>→</kbd> 键时根据指定步进值来调整输入值。
|
||||
|
||||
[[ demo src="/demo/slider/steps.vue" ]]
|
||||
|
||||
|
@@ -98,8 +98,8 @@
|
||||
| -- | -- |
|
||||
| `item` | [^item] |
|
||||
| `item-label` | 每个节点的文本区域。作用域参数与 `item` 插槽一致。 |
|
||||
| `item-prepend` | 每个节点的文本之前的区域。作用域参数与 `item` 插槽一致。 |
|
||||
| `item-append` | 每个节点的文本之后的区域。作用域参数与 `item` 插槽一致。 |
|
||||
| `item-before` | 每个节点的文本之前的区域。作用域参数与 `item` 插槽一致。 |
|
||||
| `item-after` | 每个节点的文本之后的区域。作用域参数与 `item` 插槽一致。 |
|
||||
|
||||
^^^item
|
||||
每个节点的整个内容区域。
|
||||
|
@@ -22,7 +22,7 @@
|
||||
:datasource="items"
|
||||
:indicator="indicator"
|
||||
:indicator-position="indicatorPosition"
|
||||
:indicator-alignment="align"
|
||||
:indicator-align="align"
|
||||
/>
|
||||
</section>
|
||||
</article>
|
||||
|
@@ -8,7 +8,7 @@
|
||||
:slides-per-view="2"
|
||||
effect="slide"
|
||||
indicator-position="outside"
|
||||
indicator-alignment="end"
|
||||
indicator-align="end"
|
||||
wrap
|
||||
/>
|
||||
<h4>2 view, 1 group</h4>
|
||||
@@ -18,7 +18,7 @@
|
||||
:slides-per-view="2"
|
||||
effect="slide"
|
||||
indicator-position="outside"
|
||||
indicator-alignment="end"
|
||||
indicator-align="end"
|
||||
wrap
|
||||
/>
|
||||
</section>
|
||||
|
@@ -97,6 +97,8 @@ Merge strategy for selected values. When all child nodes under a node are select
|
||||
| -- | -- |
|
||||
| `item` | [^item] |
|
||||
| `item-label` | The label of each node. Shares the same scope properties with the `item` slot. |
|
||||
| `item-before` | The area before the label of each node. Shares the same scope properties with the `item` slot. |
|
||||
| `item-after` | The area after the label of each node. Shares the same scope properties with the `item` slot. |
|
||||
|
||||
^^^item
|
||||
The content of each entire node.
|
||||
|
Reference in New Issue
Block a user