docs: remove New badges from edge docs

This commit is contained in:
Benjamin Canac
2023-09-07 15:52:25 +02:00
parent 2b1e7bcc57
commit 98e1d1b90e
6 changed files with 9 additions and 21 deletions

View File

@@ -4,8 +4,6 @@ links:
- label: GitHub
icon: i-simple-icons-github
to: https://github.com/nuxt/ui/blob/dev/src/runtime/components/navigation/Tabs.vue
navigation:
badge: 'New'
---
## Usage
@@ -87,7 +85,7 @@ const items = [...]
This will have no effect if you are using a `v-model` to control the selected index.
::
### Listen to changes :u-badge{label="New" class="ml-2 align-text-bottom !rounded-full" variant="subtle"}
### Listen to changes
You can listen to changes by using the `@change` event. The event will emit the index of the selected item.
@@ -113,7 +111,7 @@ function onChange (index) {
```
::
### Control the selected index :u-badge{label="New" class="ml-2 align-text-bottom !rounded-full" variant="subtle"}
### Control the selected index
Use a `v-model` to control the selected index.