原因是可以选择不同的输出。
我从 Notification Banner 的仓库改编了这段代码。
NateDhaliwal
(Nate Dhaliwal)
3
相关话题
| 话题 | 回复 | 浏览量 | 活动 | |
|---|---|---|---|---|
| Templating of my "component" broke. How do I fix it? | 14 | 494 | 2026 年3 月 17 日 | |
| api.renderInOutlet not rendering? | 11 | 462 | 2025 年6 月 28 日 | |
| Overriding .gjs files - not possible? | 2 | 669 | 2023 年10 月 10 日 | |
| Using Plugin Outlet Connectors from a Theme or Plugin | 12 | 19277 | 2024 年10 月 14 日 | |
| Modernizing inline script tags for templates & JS API | 46 | 5907 | 2026 年3 月 25 日 |