mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
16 lines
281 B
TypeScript
16 lines
281 B
TypeScript
import {IonicPlatform, IonicView, Popup} from 'ionic/ionic';
|
|
|
|
@IonicView({
|
|
templateUrl: 'popups/popups.html',
|
|
})
|
|
export class PopupsPage {
|
|
|
|
constructor(popup: Popup) {
|
|
this.popup = popup;
|
|
}
|
|
|
|
showPopup() {
|
|
this.popup.alert("Popup Title").then(() => {
|
|
});
|
|
}
|
|
} |