0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-13 22:11:20 -05:00
astro/.changeset/hungry-needles-cough.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
337 B
Markdown
Raw Normal View History

---
"astro": minor
---
Adds support for emitting warning and info notifications from dev toolbar apps.
When using the `toggle-notification` event, the severity can be specified through `detail.level`:
```ts
eventTarget.dispatchEvent(
new CustomEvent("toggle-notification", {
detail: {
level: "warning",
},
})
);
```