- ng-disabled : กำหนดให้เป็น disable.
- ng-show : กำหนดให้แสดง.
- ng-hide : ใช้สำหรับซ่อน.
- ng-click : การผูก click event.
// ng-disabled
Disable Button
// ng-show
Show Button
// ng-hide
Hide Button
// ng-click
Total click: {{ clickCounter }}
ตัวอย่างผลลัพธ์AngularJS Sample Application
Disable Button Show Button Hide Button Total click: {{ clickCounter }}
0 comments:
Post a Comment