:host 的一个常见的使用场景是:你创建了一个自定义元素,希望对不同的用户状态(:hover,:focus,:active,等等)产生反馈。 <style> :host { opacity: 0.4 ...
確定! 回上一頁