Nagging Penguin Matriarchs

    svelte-animation-store

    0.0.1 • Public • Published

    Svelte Animation Store

    A store that is based on Svelte's tweened store, with some additional functionality:

    • set(value): works the same as a writable store.
    • update(callback): works the same as a writable store.
    • subscribe(callback): works the same as a writable store.
    • pause(): freezed the store at the current value.
    • reset(): resets the store's value back to the last set point.
    • continue(): play on from a pause.
    • reverse(): play in reverse.
    • replay(): go back to start, and play to last set point.
    • accelerate(speed): change speed of animation.

    Demo

    License

    MIT

    Keywords

    none

    Install

    npm i svelte-animation-store

    DownloadsWeekly Downloads

    1

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    2.6 kB

    Total Files

    3

    Last publish

    Collaborators

    • joshnuss