summaryrefslogtreecommitdiff
path: root/examples/framework-preact/src
diff options
context:
space:
mode:
authorGravatar Mads Erik Forberg <mads@langesund.org> 2024-01-03 14:20:07 +0100
committerGravatar GitHub <noreply@github.com> 2024-01-03 13:20:07 +0000
commit769826edbd9ee2144e9272656dfbe6155b24d67d (patch)
tree28517da9a7c636b97efecd5ebad0abb3bee5d034 /examples/framework-preact/src
parentf33fe3190b482a42ebc68cc5275fd7f2c49102e6 (diff)
downloadastro-769826edbd9ee2144e9272656dfbe6155b24d67d.tar.gz
astro-769826edbd9ee2144e9272656dfbe6155b24d67d.tar.zst
astro-769826edbd9ee2144e9272656dfbe6155b24d67d.zip
feat: support setting rootMargin for `client:visible` (#9363)
* feat: support setting rootMargin for `client:visible` This support adding optional `rootMargin` to the `IntersectionObserver` options. This gives the developer the optional choice to hydrate a bit before the astro-island enters the viewport. * chore: update type for client:visible * chore: added changeset * chore: update types * fix: check if value is string * Update stupid-peas-juggle.md * fix: update .changeset/stupid-peas-juggle.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> --------- Co-authored-by: Florian Lefebvre <contact@florian-lefebvre.dev> Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Diffstat (limited to 'examples/framework-preact/src')
0 files changed, 0 insertions, 0 deletions