mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
20 lines
572 B
JavaScript
20 lines
572 B
JavaScript
import {NgElement} from 'angular2/angular2'
|
|
import {Component, Directive} from 'angular2/src/core/annotations_impl/annotations';
|
|
|
|
import {IonicComponent} from 'ionic/config/component'
|
|
|
|
@Directive({
|
|
selector: 'button, ion-button, [ion-button],.button',
|
|
})
|
|
export class Button {
|
|
constructor(
|
|
//@NgElement() ngElement:NgElement
|
|
) {
|
|
//this.domElement = ngElement.domElement
|
|
}
|
|
}
|
|
// new IonicComponent(Button, {
|
|
// enhanceRawElement: true,
|
|
// propClasses: ['primary', 'secondary', 'danger', 'light', 'stable', 'dark', 'block', 'clear', 'full', 'icon']
|
|
// })
|