NgStyle —— 新增和刪除一組HTML 樣式。 ... 要設定元素的樣式,請將 ngStyle 屬性繫結到 currentStyles 。 ... src/app/app.component.html (NgModel example)
確定! 回上一頁