In below example, we used a ternary operator so that if an isActive ... Angular uses the templates so that we can easily style using class ...
確定! 回上一頁