AngluarJS中的ng-click指令用於單擊元素時應用自定義行為。 ... <h2>ng-click Directive</h2> <div ng-controller="app"> <button> <a href="" ng-click="alert()"> ...
確定! 回上一頁