mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
Tons of form shit
This commit is contained in:
17
ionic/components/form/input/input.js
Normal file
17
ionic/components/form/input/input.js
Normal file
@ -0,0 +1,17 @@
|
||||
import {NgElement, Decorator} from 'angular2/angular2'
|
||||
import {IonicComponent} from 'ionic/config/component'
|
||||
|
||||
@Decorator({
|
||||
selector: 'ion-input'
|
||||
})
|
||||
export class Input {
|
||||
constructor(
|
||||
@NgElement() ngElement:NgElement
|
||||
) {
|
||||
this.domElement = ngElement.domElement
|
||||
//this.config = Button.config.invoke(this)
|
||||
console.log('INPUT');
|
||||
}
|
||||
}
|
||||
new IonicComponent(Input, {
|
||||
})
|
Reference in New Issue
Block a user