speckle-js
v0.0.10
Published
A JavaScript module that adds responsive, stylized speckles to any element; with no dependencies.
Downloads
12
Readme
Speckle
A JavaScript module that adds responsive, stylized speckles to any element; with no dependencies.
Getting Started
Installation
npm install speckle-js
Usage
Import the module.
// Import the module using ES6.
import Speckle from 'speckle-js';
// Import the module using CommonJS.
const Speckle = require('speckle-js');
Use the constructor by passing a valid HTML element as the first argument, and an options object of key: value
pairs as the second argument.
new Speckle(element, options);
Documentation
Visit the documentation and examples for all options, methods, and how to use them.