When the user clicks in the <li> , Angular executes the onSelect(hero) expression. ... Angular's class binding can add and remove a CSS class conditionally.
確定! 回上一頁