mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
docs(infinite-scroll): update docs for disabling infinite scroll
updates the breaking changes, usage, and test closes #14908
This commit is contained in:
4
core/src/components.d.ts
vendored
4
core/src/components.d.ts
vendored
@ -2693,7 +2693,7 @@ declare global {
|
||||
*/
|
||||
'complete': () => void;
|
||||
/**
|
||||
* If true, the infinite scroll will be hidden and scroll event listeners will be removed. Call `enable(false)` to disable the infinite scroll from actively trying to receive new data while scrolling. This method is useful when it is known that there is no more data that can be added, and the infinite scroll is no longer needed.
|
||||
* If true, the infinite scroll will be hidden and scroll event listeners will be removed. Set this to true to disable the infinite scroll from actively trying to receive new data while scrolling. This is useful when it is known that there is no more data that can be added, and the infinite scroll is no longer needed.
|
||||
*/
|
||||
'disabled': boolean;
|
||||
/**
|
||||
@ -2731,7 +2731,7 @@ declare global {
|
||||
namespace JSXElements {
|
||||
export interface IonInfiniteScrollAttributes extends HTMLAttributes {
|
||||
/**
|
||||
* If true, the infinite scroll will be hidden and scroll event listeners will be removed. Call `enable(false)` to disable the infinite scroll from actively trying to receive new data while scrolling. This method is useful when it is known that there is no more data that can be added, and the infinite scroll is no longer needed.
|
||||
* If true, the infinite scroll will be hidden and scroll event listeners will be removed. Set this to true to disable the infinite scroll from actively trying to receive new data while scrolling. This is useful when it is known that there is no more data that can be added, and the infinite scroll is no longer needed.
|
||||
*/
|
||||
'disabled'?: boolean;
|
||||
/**
|
||||
|
Reference in New Issue
Block a user