mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 21:15:24 +08:00
style: fix ts linter errors
This commit is contained in:
@ -44,7 +44,7 @@ export class NativeInput {
|
|||||||
function docTouchEnd(ev) {
|
function docTouchEnd(ev) {
|
||||||
var tapped: HTMLElement = ev.target;
|
var tapped: HTMLElement = ev.target;
|
||||||
if (tapped && self.element()) {
|
if (tapped && self.element()) {
|
||||||
if (tapped.tagName !== "INPUT" && tapped.tagName !== "TEXTAREA" && !tapped.classList.contains('input-cover')) {
|
if (tapped.tagName !== 'INPUT' && tapped.tagName !== 'TEXTAREA' && !tapped.classList.contains('input-cover')) {
|
||||||
self.element().blur();
|
self.element().blur();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -256,7 +256,7 @@ export class Select {
|
|||||||
this.onChange(input.value);
|
this.onChange(input.value);
|
||||||
this.change.emit(input.value);
|
this.change.emit(input.value);
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
}));
|
}));
|
||||||
alertOptions.cssClass = 'select-action-sheet';
|
alertOptions.cssClass = 'select-action-sheet';
|
||||||
|
|
||||||
@ -274,7 +274,7 @@ export class Select {
|
|||||||
label: input.text,
|
label: input.text,
|
||||||
value: input.value,
|
value: input.value,
|
||||||
checked: input.checked
|
checked: input.checked
|
||||||
}
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
// create the alert instance from our built up alertOptions
|
// create the alert instance from our built up alertOptions
|
||||||
|
Reference in New Issue
Block a user