mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 01:52:19 +08:00
docs(loading): add missing async to new loading example (#17432)
* update loading example * add async
This commit is contained in:
@ -1061,7 +1061,7 @@ openLoading() {
|
|||||||
**New Usage Example:**
|
**New Usage Example:**
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
openLoading() {
|
async openLoading() {
|
||||||
let loading = this.loadingCtrl.create({
|
let loading = this.loadingCtrl.create({
|
||||||
content: 'Loading...'
|
content: 'Loading...'
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user