@mathigon/slate v0.1.2
Slate.js
Slate.js is a collection of reusable custom web components: gallery, popups, sliders, lightboxes, parallax images, and many more. It was developed for the mathematics education project Mathigon.org.
Quick start
Slate.js is not intended to be used on its own, but as a dependency of another
module or application. You can install it easily using
npm install @mathigon/slate
.
Now use ES6 imports to require specific classes or functions:
import { Complex, gcd } from '@mathigon/slate'
Finally, compile your JavaScript using rollup. Remember to include a plugin like rollup-plugin-node-resolve to correctly resolve the imports.
Documentation
Coming soon!
Contributing
While slate.js was developed specifically for use by Mathigon, many of the functions are generic and reusable. We welcome community contributions: please file bugs or send us pull requests. You can find out more on Mathigon's contributions page.
Code and documentation are copyright (c) Mathigon.
Released under the MIT license.