illusory
TypeScript icon, indicating that this package has built-in type declarations

2.0.3 • Public • Published

illusory

GitHub build status Open issues npm version downloads license Code style: prettier language Status

Seamlessly morph one element into another.
Demo

Installation

<!-- 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>

or

$ npm install illusory
import { illusory } from 'illusory'

Basic usage

illusory(from, to)

Documentation

See the docs page for usage details and examples.

Contributing

Setup

$ git clone https://github.com/justintaddei/illusory
$ cd illusory
$ npm install

Development

Building

$ npm run build

# Watch mode
$ npm run dev

Live-reload server

$ npm run serve

Testing

Tests should be written in the same folder as the file being tested.
Use the [filename].spec.ts naming convention.

Running tests

$ npm test

/docs page

# Transpile ./docs/index.js
$ npm run build:docs

# Watch ./docs/index.js and build on save.
$ npm run dev:docs

Package Sidebar

Install

npm i illusory

Weekly Downloads

159

Version

2.0.3

License

MIT

Unpacked Size

50.7 kB

Total Files

22

Last publish

Collaborators

  • justintaddei