mirror of
https://github.com/withastro/astro.git
synced 2025-01-13 22:11:20 -05:00
3307cb34f1
* Add new levels of notification * feat: proper support * chore: changeset * fix: remove unrelated change * test: add test * feat: implement new icons * fix: go back to previous layout * fix: custom app number --------- Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
337 B
337 B
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
:
eventTarget.dispatchEvent(
new CustomEvent("toggle-notification", {
detail: {
level: "warning",
},
})
);