mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
docs(composables): add use-toast page
This commit is contained in:
23
docs/content/2.composables/use-toast.md
Normal file
23
docs/content/2.composables/use-toast.md
Normal file
@@ -0,0 +1,23 @@
|
||||
---
|
||||
title: useToast
|
||||
description: 'A composable to display toast notifications in your Nuxt application.'
|
||||
navigation:
|
||||
badge:
|
||||
label: Todo
|
||||
---
|
||||
|
||||
## Usage
|
||||
|
||||
```vue
|
||||
<script setup lang="ts">
|
||||
const toast = useToast()
|
||||
</script>
|
||||
```
|
||||
|
||||
### `add()`
|
||||
|
||||
### `update()`
|
||||
|
||||
### `remove()`
|
||||
|
||||
### `clear()`
|
||||
Reference in New Issue
Block a user