docs(): update docs

This commit is contained in:
mhartington
2018-02-20 12:09:05 -05:00
parent 69093551b2
commit 376628f286
4 changed files with 27 additions and 9 deletions

View File

@ -28,6 +28,11 @@ export class Content {
*/
@Prop() fullscreen = false;
/**
* If true and the content does not cause an overflow scroll, the scroll interaction will cause a bounce.
* If the content exceeds the bounds of ionContent, nothing will change.
* Note, the does not disable the system bounce on iOS. That is an OS level setting.
*/
@Prop() forceOverscroll: boolean;
@Listen('body:ionNavChanged')

View File

@ -1,10 +1,21 @@
# ion-infinite-scroll-content
InfiniteScrollContent is a component that adds the content to InfiniteScroll.
You can loading icon or loading text with the component's properties.
```html
<ion-content>
<ion-infinite-scroll>
<ion-infinite-scroll-content
loadingSpinner="bubbles"
loadingText="Loading more data...">
</ion-infinite-scroll-content>
</ion-infinite-scroll>
</ion-content>
```
<!-- Auto Generated Below -->
## Properties
#### loadingSpinner
@ -13,14 +24,12 @@ string
An animated SVG spinner that shows while loading.
#### loadingText
string
Optional text to display while loading.
## Attributes
#### loading-spinner
@ -29,15 +38,12 @@ string
An animated SVG spinner that shows while loading.
#### loading-text
string
Optional text to display while loading.
---
----------------------------------------------
*Built with [StencilJS](https://stenciljs.com/)*
_Built with [StencilJS](https://stenciljs.com/)_

View File

@ -12,7 +12,7 @@ on the infinite scroll instance.
<ion-content>
<ion-list>
<ion-itemngFor="let i of items">{% raw %}{{i}}{% endraw %}</ion-item>
<ion-item ngFor="let i of items">{% raw %}{{i}}{% endraw %}</ion-item>
</ion-list>
<ion-infinite-scroll (ionInfinite)="doInfinite($event)">

View File

@ -32,6 +32,13 @@ export class Scroll {
@Prop({ context: 'isServer' }) isServer: boolean;
@Prop() mode: string;
/**
* If true and the content does not cause an overflow scroll, the scroll interaction will cause a bounce.
* If the content exceeds the bounds of ionScroll, nothing will change.
* Note, the does not disable the system bounce on iOS. That is an OS level setting.
*/
@Prop({mutable: true}) forceOverscroll: boolean;
@Prop() onionScrollStart: ScrollCallback;