chore(): update stencil (#16506)

This commit is contained in:
Manu MA
2018-11-29 18:54:51 +01:00
committed by GitHub
parent aa61e818a5
commit 6b7f8ae201
66 changed files with 5696 additions and 7 deletions

View File

@@ -8,6 +8,26 @@ Loading controllers programmatically control the loading component. Loadings can
<!-- Auto Generated Below -->
## Usage
### Javascript
```javascript
async function presentLoading() {
const loadingController = document.querySelector('ion-loading-controller');
await loadingController.componentOnReady();
const loadingElement = await loadingController.create({
message: 'Please wait...',
spinner: 'crescent',
duration: 2000
});
return await loadingElement.present();
}
```
## Methods
### `create(opts?: LoadingOptions | undefined) => Promise<HTMLIonLoadingElement>`