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:**
|
||||
|
||||
```javascript
|
||||
openLoading() {
|
||||
async openLoading() {
|
||||
let loading = this.loadingCtrl.create({
|
||||
content: 'Loading...'
|
||||
});
|
||||
|
Reference in New Issue
Block a user