Input stuff

This commit is contained in:
Max Lynch
2015-04-24 14:31:51 -05:00
parent 6a855b6c9d
commit ca8c39179b
8 changed files with 15 additions and 6 deletions

View File

@@ -0,0 +1,17 @@
import {NgElement, Decorator} from 'angular2/angular2'
import {IonicComponent} from 'ionic2/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, {
})

View File

@@ -0,0 +1,6 @@
ion-input {
display: block;
input {
width: 100%;
}
}