adiconado imput de porcentagem
This commit is contained in:
parent
5bfde6ee66
commit
8bb5aea15e
15 changed files with 260 additions and 184 deletions
21
README.md
21
README.md
|
|
@ -160,6 +160,27 @@ export default defineComponent({
|
|||
</script>
|
||||
```
|
||||
|
||||
### EliInput (porcentagem)
|
||||
|
||||
Use `type="porcentagem"` quando precisar de um campo numérico com sufixo `%` embutido.
|
||||
|
||||
```vue
|
||||
<template>
|
||||
<EliInput v-model="taxa" type="porcentagem" label="Taxa" placeholder="0,00" />
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent, ref } from "vue";
|
||||
|
||||
export default defineComponent({
|
||||
setup() {
|
||||
const taxa = ref("");
|
||||
return { taxa };
|
||||
},
|
||||
});
|
||||
</script>
|
||||
```
|
||||
|
||||
### EliBadge
|
||||
|
||||
```vue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue