@internetarchive/collection-browser 4.3.1 → 4.3.2-alpha-webdev7939.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/collection-browser.d.ts +8 -0
- package/dist/src/collection-browser.js +804 -779
- package/dist/src/collection-browser.js.map +1 -1
- package/package.json +2 -2
- package/src/collection-browser.ts +3078 -3049
|
@@ -361,6 +361,14 @@ export declare class CollectionBrowser extends LitElement implements InfiniteScr
|
|
|
361
361
|
* given the current display mode & placeholder case.
|
|
362
362
|
*/
|
|
363
363
|
private get infiniteScrollerClasses();
|
|
364
|
+
/**
|
|
365
|
+
* Best-effort hint of how tall a single rendered tile is, by display mode.
|
|
366
|
+
* The scroller uses this to better estimate the size its initial scroll
|
|
367
|
+
* spacer and buffer position before real cell heights are measured.
|
|
368
|
+
* Should roughly match the placeholder heights since the initial render
|
|
369
|
+
* of a new page generally shows placeholders only anyway.
|
|
370
|
+
*/
|
|
371
|
+
private get estimatedTileHeight();
|
|
364
372
|
/**
|
|
365
373
|
* Template for the sort & filtering bar that appears atop the search results.
|
|
366
374
|
*/
|