| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/framework7/node_modules/framework7/components/infinite-scroll/ |
Upload File : |
import Framework7, {
CSSSelector,
Framework7EventsClass,
Framework7Plugin,
} from '../app/app-class.js';
export namespace InfiniteScroll {
interface DomEvents {
/** Event will be triggered when page scroll reaches specified (in data-infinite-distance attribute) distance to the bottom. */
infinite: () => void;
}
interface AppMethods {
infiniteScroll: {
/** Add infinite scroll event listener to the specified HTML element */
create(el: HTMLElement | CSSSelector): void;
/** Remove infinite scroll event listener from the specified HTML container */
destroy(el: HTMLElement | CSSSelector): void;
};
}
interface AppParams {}
interface AppEvents {
infinite: (el: HTMLElement, event: Event) => void;
}
}
declare const InfiniteScrollComponent: Framework7Plugin;
export default InfiniteScrollComponent;