Ionic: Alerts

กดปุ่มแล้วมี Alert เด้งขึ้นมา
alert1 alert2

แก้ไขไฟล์ src/pages/home/home.html
โดยเพิ่มปุ่ม และเมื่อปุ่มถูกกดให้เรียกฟังก์ชัน doAlert()

แก้ไขไฟล์ src/pages/home/home.ts

https://ionicframework.com/docs/components/#alert