Misc
Proxies
Re-exported anime.js helpers for use inside composable parameters.
Re-exported anime.js helpers for use inside composable parameters without importing directly from
animejs/*.
Text
Available via #nanime/proxies/text.
| Export | Description |
|---|---|
scrambleText | Creates a scramble/reveal text effect for use as an innerHTML animation value |
ScrambleTextParams | Type for scrambleText options |
import { scrambleText } from '#nanime/proxies/text'
const tl = useAnimeTimeline({ loop: true })
tl.add(target, {
innerHTML: scrambleText({
text: 'hello world',
chars: 'symbols',
}),
})
See the useScrambleText composable for the reactive wrapper, or the AnimeJS Scramble Text documentation for all available options.