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
|
||||||
|
@ -92,7 +92,7 @@ export function App(args: AppMetadata = {}) {
|
|||||||
let directives = args.directives ? args.directives.concat(IONIC_DIRECTIVES) : IONIC_DIRECTIVES;
|
let directives = args.directives ? args.directives.concat(IONIC_DIRECTIVES) : IONIC_DIRECTIVES;
|
||||||
|
|
||||||
// automatically provide all of Ionic's directives to every component
|
// automatically provide all of Ionic's directives to every component
|
||||||
providers.push(provide(PLATFORM_DIRECTIVES, {useValue: [directives], multi:true}));
|
providers.push(provide(PLATFORM_DIRECTIVES, {useValue: [directives], multi: true}));
|
||||||
|
|
||||||
if (args.prodMode) {
|
if (args.prodMode) {
|
||||||
enableProdMode();
|
enableProdMode();
|
||||||
|
Reference in New Issue
Block a user