mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 16:16:41 +08:00
feat(demo): make our value accessors more closely match Angular's
This commit is contained in:
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user