feat(demo): make our value accessors more closely match Angular's

This commit is contained in:
Ken Sodemann
2017-11-16 09:40:45 -06:00
parent e50d7fbfe4
commit c23e2f717c
7 changed files with 49 additions and 14 deletions

View File

@ -7,10 +7,21 @@ import { Component, OnInit, ViewEncapsulation } from '@angular/core';
encapsulation: ViewEncapsulation.None
})
export class InputsTestPageComponent implements OnInit {
testCheckboxOne = true;
testInputOne = 'This is data for test input one';
ionTextInput = 'This is the Ionic Text Input';
stdTextInput = 'This is the HTML Text Input';
ionCheckbox = true;
stdCheckbox = true;
constructor() {}
ngOnInit() {}
onBlur(evt) {
console.log('blur: ', evt);
}
change(evt) {
console.log('change: ', evt);
}
}