核心提示:demo.component.ts动态样式绑定定时器解析。import { Component, OnInit, OnDestroy } from @angular/core;@Component({...
demo.component.ts
动态样式绑定定时器解析。
import { Component, OnInit, OnDestroy } from '@angular/core'; @Component({ selector: 'demo10', template:`