1.15.3 • Published 4 years ago
@mojoactive/swatches v1.15.3
@mojoactive/swatches
A library for Swatch Switching
Building and running on localhost
First install dependencies:
npm install
To create a production build:
npm run build
Using in an application
In order to use this library in an application first install the dependency:
npm install @mojoactive/swatches -S
Then you can require the module manually:
import Swatches from "@mojoactive/swatches"; // with es6
const Swatches = require("@mojoactive/swatches"); // without es6
...
constructor() {
Swatches.config.CookieName = 'myCustomCookieName';
Swatches.init();
}
1.15.3
4 years ago
0.15.4
4 years ago
0.15.3
4 years ago
0.15.2
4 years ago
0.15.0
4 years ago
0.14.1
5 years ago
0.14.0
5 years ago
0.13.0
5 years ago
0.12.2
5 years ago
0.12.1
5 years ago
0.12.0
5 years ago
0.11.0
5 years ago
0.10.2
5 years ago
0.10.3
5 years ago
0.10.1
5 years ago
0.10.0
5 years ago
0.9.2
5 years ago
0.9.1
5 years ago
0.9.0
5 years ago
0.8.1
5 years ago
0.8.0
5 years ago
0.7.0
5 years ago
0.6.0
5 years ago
0.5.0
5 years ago
0.4.2
5 years ago
0.4.1
5 years ago
0.4.0
5 years ago
0.3.1
5 years ago
0.3.0
5 years ago
0.2.3
5 years ago
0.2.4
5 years ago
0.2.1
5 years ago
0.2.2
5 years ago
0.2.0
5 years ago
0.1.0
5 years ago