前篇介紹過ng-if,動態決定是否產生DOM區塊,NG還有另一項工具– ngSwitch! <!DOCTYPE html> <html ng-app="sampleApp"> <head> <meta ...
確定! 回上一頁