+ {this.spinner !== 'hide' && (
+
+
+
+ )}
- { this.spinner !== 'hide' &&
-
-
-
}
-
- { this.content &&
{this.content}
}
+ {this.content &&
{this.content}
}
];
}
diff --git a/core/src/components/loading/usage/angular.md b/core/src/components/loading/usage/angular.md
index d7abd229f8..4fb27e5f61 100644
--- a/core/src/components/loading/usage/angular.md
+++ b/core/src/components/loading/usage/angular.md
@@ -18,7 +18,7 @@ export class LoadingExample {
return await loading.present();
}
- presentLoadingWithOptions() {
+ async presentLoadingWithOptions() {
const loading = await this.loadingController.create({
spinner: 'hide',
duration: 5000,
diff --git a/core/src/components/menu-button/menu-button.tsx b/core/src/components/menu-button/menu-button.tsx
index 607d7e4181..deed5e5c23 100644
--- a/core/src/components/menu-button/menu-button.tsx
+++ b/core/src/components/menu-button/menu-button.tsx
@@ -12,8 +12,8 @@ import { Config } from '../../interface';
}
})
export class MenuButton {
-
- @Prop({ context: 'config' }) config!: Config;
+ @Prop({ context: 'config' })
+ config!: Config;
/**
* Optional property that maps to a Menu's `menuId` prop. Can also be `left` or `right` for the menu side. This is used to find the correct menu to toggle
diff --git a/core/src/components/menu-button/readme.md b/core/src/components/menu-button/readme.md
index 9cd409b6c9..ee9b5b51cd 100644
--- a/core/src/components/menu-button/readme.md
+++ b/core/src/components/menu-button/readme.md
@@ -1,5 +1,6 @@
# ion-menu-button
+Menu Button is component that automatically creates the icon and functionality to open a menu on a page.
diff --git a/core/src/components/menu-controller/menu-controller.ts b/core/src/components/menu-controller/menu-controller.ts
index e2c3f8842a..311c3cbe24 100644
--- a/core/src/components/menu-controller/menu-controller.ts
+++ b/core/src/components/menu-controller/menu-controller.ts
@@ -9,11 +9,11 @@ import { menuRevealAnimation } from './animations/reveal';
tag: 'ion-menu-controller'
})
export class MenuController {
-
private menus: Menu[] = [];
private menuAnimations = new Map