docs(all): possible values are extracted by stencil (#16190)

* docs(all): possible values are extracted by stencil

* add defaults

* remove all hardcoded defaults

* update stencil
This commit is contained in:
Manu MA
2018-11-02 00:06:40 +01:00
committed by GitHub
parent 335acf96ee
commit ecc2c55370
151 changed files with 1363 additions and 1430 deletions

View File

@ -1,6 +1,6 @@
import { Component, ComponentInterface, Prop } from '@stencil/core';
import { Config, Mode } from '../../interface';
import { Config, Mode, SpinnerTypes } from '../../interface';
import { createThemedClasses } from '../../utils/theme';
@Component({
@ -19,7 +19,7 @@ export class InfiniteScrollContent implements ComponentInterface {
/**
* An animated SVG spinner that shows while loading.
*/
@Prop({ mutable: true }) loadingSpinner?: string;
@Prop({ mutable: true }) loadingSpinner?: SpinnerTypes;
/**
* Optional text to display while loading.

View File

@ -7,10 +7,10 @@ The `ion-infinite-scroll-content` component is the default child used by the `io
## Properties
| Property | Attribute | Description | Type |
| ---------------- | ----------------- | ------------------------------------------------- | --------------------- |
| `loadingSpinner` | `loading-spinner` | An animated SVG spinner that shows while loading. | `string \| undefined` |
| `loadingText` | `loading-text` | Optional text to display while loading. | `string \| undefined` |
| Property | Attribute | Description | Type | Default |
| ---------------- | ----------------- | ------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------- |
| `loadingSpinner` | `loading-spinner` | An animated SVG spinner that shows while loading. | `"bubbles" \| "circles" \| "crescent" \| "dots" \| "lines" \| "lines-small" \| undefined` | `undefined` |
| `loadingText` | `loading-text` | Optional text to display while loading. | `string \| undefined` | `undefined` |
----------------------------------------------