NgStyle 指令. Angular 2提供了一个内置的指令 ngStyle 来修改组件或元素的 style 属性。这里有一个例子: @Component({ selector: 'app-style-example', ...
確定! 回上一頁