如果我們要使用angular在html中設定css樣式,我們可以使用ng-class這個指令。 ... (2) 設定true和false的樣式,範例中設定兩個名稱為active和inactive的樣式
確定! 回上一頁