Dynamic post loading (#2)
All checks were successful
Deploy / Deploy (push) Successful in 33s
All checks were successful
Deploy / Deploy (push) Successful in 33s
Dynamically load the posts so that you can scroll a chronologically sorted timeline infinitely Reviewed-on: #2 Co-authored-by: ari <ariadna@omg.lol> Co-committed-by: ari <ariadna@omg.lol>
This commit is contained in:
parent
26aff55dc2
commit
cff9eed1a4
6 changed files with 205 additions and 91 deletions
|
@ -113,7 +113,7 @@
|
|||
<div id="carouselControls">
|
||||
<button
|
||||
id="prevBtn"
|
||||
on:click={prevImage}
|
||||
onclick={prevImage}
|
||||
disabled={currentImageIndex === 0}>←</button
|
||||
>
|
||||
<div id="carouselIndicators">
|
||||
|
@ -125,7 +125,7 @@
|
|||
</div>
|
||||
<button
|
||||
id="nextBtn"
|
||||
on:click={nextImage}
|
||||
onclick={nextImage}
|
||||
disabled={currentImageIndex === post.imagesCid.length - 1}
|
||||
>→</button
|
||||
>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue