6.1.4 • Published 2 months ago
@lesjoursfr/colorpicker v6.1.4
@lesjoursfr/colorpicker
Modular color picker
Requirements
To work this library needs :
- @popperjs/core 2.x
How to use
import { Colorpicker } from "@lesjoursfr/colorpicker";
/* Initialize the Colorpicker */
new Colorpicker(document.querySelector("#colorpicker"), {
color: "#C83E2C",
useAlpha: true,
});
License
The MIT License (MIT). Please see the License File for more information.
Credits
Based on Javi Aguilar's color picker (2021).