fix(picker): stop animation when it's closed

fixes #15854
This commit is contained in:
Manu Mtz.-Almeida
2018-10-08 14:53:47 -05:00
parent 8cb1886672
commit e81af2d5aa
3 changed files with 23 additions and 15 deletions

View File

@ -99,19 +99,19 @@ export class Checkbox implements ComponentInterface {
});
}
onChange() {
private onChange() {
this.checked = !this.checked;
}
onKeyUp() {
private onKeyUp() {
this.keyFocus = true;
}
onFocus() {
private onFocus() {
this.ionFocus.emit();
}
onBlur() {
private onBlur() {
this.keyFocus = false;
this.ionBlur.emit();
}