mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
35 lines
912 B
JavaScript
35 lines
912 B
JavaScript
// import {NgElement, Component, View as NgView, Parent} from 'angular2/angular2'
|
|
// import {IonicComponent} from 'ionic/config/component'
|
|
|
|
|
|
// @Component({
|
|
// selector: 'ion-alert'
|
|
// })
|
|
// @NgView({
|
|
// template: `
|
|
// <div class="overlay-backdrop"></div>
|
|
// <div class="overlay-container">
|
|
// <div class="alert-container">
|
|
// <div class="alert-header">
|
|
// Do you like cookies?
|
|
// </div>
|
|
// <div class="alert-content">
|
|
// Seriously, who does not like cookies.
|
|
// </div>
|
|
// <div class="alert-actions">
|
|
// <button class="button">OK</button>
|
|
// </div>
|
|
// </div>
|
|
// </div>`
|
|
// })
|
|
// export class Alert {
|
|
// constructor(
|
|
// @NgElement() ngElement:NgElement
|
|
// ) {
|
|
// this.domElement = ngElement.domElement
|
|
// this.config = Alert.config.invoke(this)
|
|
// }
|
|
// }
|
|
|
|
// new IonicComponent(Alert, {})
|