1.15.3 • Published 3 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
3 years ago
0.15.4
3 years ago
0.15.3
3 years ago
0.15.2
3 years ago
0.15.0
3 years ago
0.14.1
3 years ago
0.14.0
3 years ago
0.13.0
4 years ago
0.12.2
4 years ago
0.12.1
4 years ago
0.12.0
4 years ago
0.11.0
4 years ago
0.10.2
4 years ago
0.10.3
4 years ago
0.10.1
4 years ago
0.10.0
4 years ago
0.9.2
4 years ago
0.9.1
4 years ago
0.9.0
4 years ago
0.8.1
4 years ago
0.8.0
4 years ago
0.7.0
4 years ago
0.6.0
4 years ago
0.5.0
4 years ago
0.4.2
4 years ago
0.4.1
4 years ago
0.4.0
4 years ago
0.3.1
4 years ago
0.3.0
4 years ago
0.2.3
4 years ago
0.2.4
4 years ago
0.2.1
4 years ago
0.2.2
4 years ago
0.2.0
4 years ago
0.1.0
4 years ago