-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[amp-list-load-more] documentation, demo, bugfix, and ui tweaks (#19399)
* Tweak infinite scroll ratio to 3 viewports down * Add infinite scroll examples * Minor code cleanup with bugfixes * Implement reload after load failed * Add documentation draft * Update example * Remove TODO because it's already implemented * Undo unintentional change * Add latency option to infinite scroll endpoints * Fix typo * Fix unlisten issue * Fix nextUrl for no pages left * Handle undefined next in infinite scroll * Don't show the load more button if there's nothing left to load * Refactor load and reload callbacks * Test various falsy options for next
- Loading branch information
Showing
5 changed files
with
330 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.