adds classes to container
This commit is contained in:
parent
94ca201d9f
commit
dc2b111837
1 changed files with 6 additions and 1 deletions
|
|
@ -59,7 +59,12 @@
|
|||
});
|
||||
</script>
|
||||
|
||||
<div bind:this={container}>
|
||||
<div
|
||||
bind:this={container}
|
||||
class="visibility-tracker"
|
||||
class:visible
|
||||
class:not-visible={!visible}
|
||||
>
|
||||
{#if children}
|
||||
{@render children(visible)}
|
||||
{/if}
|
||||
|
|
|
|||
Loading…
Reference in a new issue