cheapskate
v0.1.1
Published
Low-budget user interface animation
Downloads
51
Maintainers
Readme
Cheapskate
Low-budget user interface animation
Not for production use
This is not a robust enough abstraction to be suited for any use case other than the given examples.
This does not work in Firefox due to an implementation detail they call “Interruptible Layout” but should work in Chromium-based browsers.
Examples
Live demo: kevindoughty.gitlab.io/preact-sibling-animation
Preact: gitlab.com/kevindoughty/preact-sibling-animation
Svelte: gitlab.com/kevindoughty/svelte-four-sibling-animation
Todo
- Tests
- Documentation
- Allow delegate to specify enter/exit animation
- Allow delegate to specify stagger
- CSS for exit animation needs to properly consider box-sizing and properties that affect metrics, which are determined by offsetLeft and offsetTop
- Drag-reorder siblings
- Trees
- Virtualize