# 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 but should in Chromium-based browsers.

### Examples

Live demo:
[kevindoughty.gitlab.io/preact-sibling-animation](https://kevindoughty.gitlab.io/preact-sibling-animation)

Preact:
[gitlab.com/kevindoughty/preact-sibling-animation](https://gitlab.com/kevindoughty/preact-sibling-animation)

Svelte:
[gitlab.com/kevindoughty/svelte-four-sibling-animation](https://gitlab.com/kevindoughty/svelte-four-sibling-animation)

### Todo

1. Tests
2. Documentation
3. Allow delegate to specify enter/exit animation
4. Allow delegate to specify stagger
5. CSS for exit animation needs to properly consider box-sizing and properties that affect metrics, which are determined by offsetLeft and offsetTop
6. Drag-reorder siblings
7. Trees
8. Virtualize
