Skip to content

Commit

Permalink
fix lint error
Browse files Browse the repository at this point in the history
  • Loading branch information
yuwu9145 committed Mar 16, 2024
1 parent ccaf5e2 commit bc83ce9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<template>
<v-container>
<v-row>
<v-col cols="12" sm="4" md="4">
<v-col cols="12" md="4" sm="4">
<h5>Default</h5>
<v-number-input
control-variant="default"
></v-number-input>
</v-col>
<v-col cols="12" sm="4" md="4">
<v-col cols="12" md="4" sm="4">
<h5>Stacked</h5>
<v-number-input
control-variant="stacked"
></v-number-input>
</v-col>
<v-col cols="12" sm="4" md="4">
<v-col cols="12" md="4" sm="4">
<h5>Split</h5>
<v-number-input
control-variant="split"
Expand Down
6 changes: 3 additions & 3 deletions packages/docs/src/examples/v-number-input/prop-reverse.vue
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
<template>
<v-container>
<v-row>
<v-col cols="12" sm="4" md="4">
<v-col cols="12" md="4" sm="4">
<h5>Default</h5>
<v-number-input
control-variant="default"
reverse
></v-number-input>
</v-col>
<v-col cols="12" sm="4" md="4">
<v-col cols="12" md="4" sm="4">
<h5>Stacked</h5>
<v-number-input
control-variant="stacked"
reverse
></v-number-input>
</v-col>
<v-col cols="12" sm="4" md="4">
<v-col cols="12" md="4" sm="4">
<h5>Split</h5>
<v-number-input
control-variant="split"
Expand Down
5 changes: 3 additions & 2 deletions packages/docs/src/pages/en/components/number-input.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ features:

The VNumberInput extends the standard HTML number-type input, ensuring style consistency across browsers as a replacement for `<input type="number">`


<page-features />

::: warning
Expand Down Expand Up @@ -74,11 +73,13 @@ The `inset` prop adjusts the style of the stepper buttons by reducing the size o
<ExamplesExample file="v-number-input/prop-inset" />

#### Min/Max

The `min` and `max` props specify the minimum and maximum values accepted by v-number-input, behaving identically to the native min and max attributes for `<input type="number">`.

<ExamplesExample file="v-number-input/prop-min-max" />

#### Step

The `step` prop behaves the same as the `step` attribute in the `<input type="number">`, it defines the incremental steps for adjusting the numeric value.

<ExamplesExample file="v-number-input/prop-step" />
<ExamplesExample file="v-number-input/prop-step" />

0 comments on commit bc83ce9

Please sign in to comment.