Skip to content

Commit

Permalink
[skip ci] Add ToastMessageOptions docs to README (#721)
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-byrne authored Sep 3, 2024
1 parent a5d93f6 commit b49b19c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,11 @@ We will support custom icons later.
app.extensionManager.toast.add({
severity: 'info',
summary: 'Loaded!',
detail: 'Extension loaded!'
detail: 'Extension loaded!',
life: 3000
})
```
Documentation of all supported options can be found here: <https://primevue.org/toast/#api.toast.interfaces.ToastMessageOptions>

![image](https://github.com/user-attachments/assets/de02cd7e-cd81-43d1-a0b0-bccef92ff487)
</details>
Expand Down

0 comments on commit b49b19c

Please sign in to comment.