It assigned/ removed the class value to the element based on the condition. You can use either the expression or method with NgClass directive.
確定! 回上一頁