mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00
docs(loading): update API docs for loading
This commit is contained in:
@ -27,8 +27,8 @@ import {ViewController} from '../nav/view-controller';
|
|||||||
* the loading indicator will use the spinner specified by the mode. To
|
* the loading indicator will use the spinner specified by the mode. To
|
||||||
* set the spinner name across the app, set the value of `loadingSpinner`
|
* set the spinner name across the app, set the value of `loadingSpinner`
|
||||||
* in your app's config. To hide the spinner, set `loadingSpinner: 'hide'`
|
* in your app's config. To hide the spinner, set `loadingSpinner: 'hide'`
|
||||||
* in the apps' config or pass `spinner: 'hide'` in the loading
|
* in the app's config or pass `spinner: 'hide'` in the loading
|
||||||
* options. See the create method below for all available options.
|
* options. See the [create](#create) method below for all available options.
|
||||||
*
|
*
|
||||||
* ### Dismissing
|
* ### Dismissing
|
||||||
* The loading indicator can be dismissed automatically after a specific
|
* The loading indicator can be dismissed automatically after a specific
|
||||||
@ -130,7 +130,7 @@ export class Loading extends ViewController {
|
|||||||
* | cssClass |`string` | An additional class for custom styles. |
|
* | cssClass |`string` | An additional class for custom styles. |
|
||||||
* | showBackdrop |`boolean` | Whether to show the backdrop. Default true. |
|
* | showBackdrop |`boolean` | Whether to show the backdrop. Default true. |
|
||||||
* | dismissOnPageChange |`boolean` | Whether to dismiss the indicator when navigating to a new page. Default false. |
|
* | dismissOnPageChange |`boolean` | Whether to dismiss the indicator when navigating to a new page. Default false. |
|
||||||
* | duration |`number` | How many milliseconds to wait before hiding the indicator. By default, it will show until `hide()` is called. |
|
* | duration |`number` | How many milliseconds to wait before hiding the indicator. By default, it will show until `dismiss()` is called. |
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* @param {object} opts Loading options
|
* @param {object} opts Loading options
|
||||||
|
Reference in New Issue
Block a user