Using ngClass for conditional styling, here is the usage from the docs: /** * @ngModule CommonModule * * @usageNotes * ``` * <some-element ...
確定! 回上一頁