[skip ci] Add ToastMessageOptions docs to README (#721)

This commit is contained in:
bymyself
2024-09-03 05:10:23 -07:00
committed by GitHub
parent a5d93f6910
commit b49b19c9b0

View File

@@ -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>