mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
refactor(all): cosmetic changes + app.resize as event emitter
This commit is contained in:
@ -126,7 +126,7 @@ export class ActionSheetCmp {
|
||||
ionViewDidEnter() {
|
||||
this._plt.focusOutActiveElement();
|
||||
|
||||
let focusableEle = this._elementRef.nativeElement.querySelector('button');
|
||||
const focusableEle = this._elementRef.nativeElement.querySelector('button');
|
||||
if (focusableEle) {
|
||||
focusableEle.focus();
|
||||
}
|
||||
@ -144,7 +144,7 @@ export class ActionSheetCmp {
|
||||
}
|
||||
|
||||
click(button: any) {
|
||||
if (! this.enabled ) {
|
||||
if (!this.enabled) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user