Seamlessly morph one element into another.
npm install illusoryhtml
`
$3
`sh
$ npm install illusory
`
`js
import { illusory } from 'illusory'
`
Basic usage
`js
illusory(from, to)
`
Documentation
See the docs page for usage details and examples.
Contributing
$3
`sh
$ git clone https://github.com/justintaddei/illusory
$ cd illusory
$ npm install
`
$3
#### Building
`sh
$ npm run build
Watch mode
$ npm run dev
`
#### Live-reload server
`sh
$ npm run serve
`
$3
Tests should be written in the same folder as the file being tested.
Use the [filename].spec.ts naming convention.
#### Running tests
`sh
$ npm test
`
$3
`sh
Transpile ./docs/index.js
$ npm run build:docs
Watch ./docs/index.js and build on save.
$ npm run dev:docs
``