Svelte action that leverages the Intersection Observer API to trigger reveal on scroll transitions.
MIT License
Bot releases are visible (Hide)
Published by github-actions[bot] 7 months ago
Published by github-actions[bot] 7 months ago
Published by github-actions[bot] 7 months ago
Published by DaveKeehl 7 months ago
Hey everyone, sorry for the hiatus. Version 1.0.0
is finally here! There are some breaking changes, but the switch should be pretty easy.
preset
option, which works similarly to the now removed transition
optioneasing
option"easeInOutCubic"
is now the default easing function"blur"
option now has a default value of 0
"scale"
option now has a default value of 0
"rotate"
option now has a default value of 0
debug
, ref
, highlightLogs
, highlightColor
, transition
and customEasing
from the optionsdev
from the global configsetDev
from the APIuse:reveal
) no longer break the library (#182)Published by github-actions[bot] almost 2 years ago
ref
option now accepts whitespacescreateObserver
function in DOM.tsmarginTop
, marginRight
, marginBottom
and marginLeft
have been deprecated in favour of rootMargin
to better align with the Intersection Observer APIPublished by github-actions[bot] over 2 years ago
Published by github-actions[bot] over 2 years ago
Published by github-actions[bot] almost 3 years ago
Published by github-actions[bot] almost 3 years ago
setDefaultOptions
now works as expectedPublished by github-actions[bot] almost 3 years ago
Published by github-actions[bot] almost 3 years ago
Published by DaveKeehl almost 3 years ago
Published by github-actions[bot] almost 3 years ago
Published by github-actions[bot] almost 3 years ago