组件模板与组件类的交互是通过DOM事件来完成的,增加一组按钮,来告诉组件类到底约不约。 @Component({ selector: 'app-root', template: ` <p>{{ hi }}</p> ...
確定! 回上一頁