how to hide a strip for a repeater with no items

Hi, I’m trying to figure out how to hide a strip if a repeater within it has no items. Appreciate any help on this one.

Just use the search function in this forum and you will find…
https://www.wix.com/corvid/forum/community-discussion/hiding-an-element-if-a-repeater-is-empty
https://www.wix.com/corvid/forum/community-discussion/hide-a-repeater-if-dataset-is-empty
https://www.wix.com/corvid/forum/community-discussion/collapse-empty-elements-in-a-repeater

If your repeater is attached to the strip itself so that it is contained within the strip, then simply set the strip to collapse instead of the repeater in the examples.

Thanks! I was able to get it to work using the code below, so appreciate you pointing me in some directions.

I did encounter a strange bug where the strip, while not displaying, was still taking up space on the page. It seems that there is a bug in Wix, where after cutting the strip, moving the footer up to the bottom of the box above, and then pasting it back in and moving the footer down, it would then be truly collapsed. https://www.wix.com/corvid/forum/community-discussion/inexplicable-blank-white-space-under-collapsed-strips/p-1/dl-5af45d2eadd7000030a314ee

$w.onReady( () =>

{ $w(“#datasetquotes”).onReady( () => {

let count = $w(“#datasetquotes”).getTotalCount();

if (count ===0) {

    $w("#stripquotes").collapse(); 
    $w("#repeaterquotes").collapse(); 

}  **else**  { 

    $w("#stripquotes").expand(); 
    $w("#repeaterquotes").expand()(); 

}} 

);  

} );

Yes that bug has been around a long time, you will see that I even commented myself on that post too.
Well done for getting it working too.

THANK YOU @bqhall !!! Been spending two day trying to do this. I love you.