# demo-02-slots 命名 slot、默认 slot 与回退内容。 ## 观察 - slot name 与 slot 属性对应 - 没有 slot 属性的内容进默认 slot - 没有传入内容时显示回退文字 - 声明式 Shadow DOM 不需要脚本