Seamlessly morph one element into another.
Demo
<!-- For IE support -->
<script src="https://cdn.jsdelivr.net/npm/es6-promise@4/dist/es6-promise.auto.min.js"></script>
<script src="https://unpkg.com/illusory"></script>
<script>
illusory(from, to)
</script>
$ npm install illusory
import { illusory } from 'illusory'
illusory(from, to)
See the docs page for usage details and examples.
$ git clone https://github.com/justintaddei/illusory
$ cd illusory
$ npm install
$ npm run build
# Watch mode
$ npm run dev
$ npm run serve
Tests should be written in the same folder as the file being tested.
Use the [filename].spec.ts
naming convention.
$ npm test
# Transpile ./docs/index.js
$ npm run build:docs
# Watch ./docs/index.js and build on save.
$ npm run dev:docs