chore(): update readme

This commit is contained in:
Manu Mtz.-Almeida
2018-10-08 15:44:51 -05:00
parent b4a73ad760
commit 4036db5480
42 changed files with 1966 additions and 215 deletions

View File

@ -49,12 +49,52 @@ The loading indicator can be dismissed automatically after a specific amount of
## Methods
| Method | Description |
| --------------- | -------------------------------------------------------------- |
| `dismiss` | Dismiss the loading overlay after it has been presented. |
| `onDidDismiss` | Returns a promise that resolves when the loading did dismiss. |
| `onWillDismiss` | Returns a promise that resolves when the loading will dismiss. |
| `present` | Present the loading overlay after it has been created. |
### `dismiss(data?: any, role?: string | undefined) => Promise<boolean>`
Dismiss the loading overlay after it has been presented.
#### Parameters
| Name | Type | Description |
| ------ | -------------------- | ----------- |
| `data` | `any` | |
| `role` | `string | undefined` | |
#### Returns
Type: `Promise<boolean>`
### `onDidDismiss() => Promise<OverlayEventDetail<any>>`
Returns a promise that resolves when the loading did dismiss.
#### Returns
Type: `Promise<OverlayEventDetail<any>>`
### `onWillDismiss() => Promise<OverlayEventDetail<any>>`
Returns a promise that resolves when the loading will dismiss.
#### Returns
Type: `Promise<OverlayEventDetail<any>>`
### `present() => Promise<void>`
Present the loading overlay after it has been created.
#### Returns
Type: `Promise<void>`
----------------------------------------------