Declarative Shadow DOM 封装
Declarative Shadow DOM 在 HTML 中用 template 定义 Shadow DOM不需要 JS 创建。样式隔离组件级 CSS。本文创建自定义按钮组件。
16
0
0
2026-07-13