Nero Punished Miscreants

    @pluginjs/color-picker

    0.8.20 • Public • Published

    ColorPicker

    npm package

    A flexible modern color-picker js plugin.

    Samples

    Introduction

    Installation

    Yarn

    yarn add @pluginjs/color-picker

    NPM

    npm i @pluginjs/color-picker

    Getting Started

    CDN:

    Development:

    <script src="https://unpkg.com/@pluginjs/color-picker/dist/color-picker.js"></script>
    <link rel="stylesheet" href="https://unpkg.com/@pluginjs/color-picker/dist/color-picker.css">

    Production:

    <script src="https://unpkg.com/@pluginjs/color-picker/dist/color-picker.min.js"></script>
    <link rel="stylesheet" href="https://unpkg.com/@pluginjs/color-picker/dist/color-picker.min.css">

    Initialize

    HTML:

    <div class="element"></div>

    ECMAScript Module:

    import ColorPicker from "@pluginjs/color-picker"
    import "@pluginjs/color-picker/dist/color-picker.css"
    
    ColorPicker.of(document.querySelector('.element'), options)

    CommonJS:

    require("@pluginjs/color-picker/dist/color-picker.css")
    const ColorPicker = require("@pluginjs/color-picker")
    
    ColorPicker.of(document.querySelector('.element'), options)

    Browser:

    <link rel="stylesheet" href="https://unpkg.com/@pluginjs/color-picker/dist/color-picker.css">
    <script src="https://unpkg.com/@pluginjs/color-picker/dist/color-picker.js"></script>
    <script>
      Pj.colorPicker('.element', options)
    </script>

    Browser support

    Tested on all major browsers.

    IE / EdgeIE / Edge FirefoxFirefox ChromeChrome SafariSafari OperaOpera
    IE11, Edge last 2 versions last 2 versions last 2 versions last 2 versions

    License

    @pluginjs/color-picker is Licensed under the GPL-v3 license.

    If you want to use @pluginjs/color-picker project to develop commercial sites, themes, projects, and applications, the Commercial license is the appropriate license. With this option, your source code is kept proprietary.

    For purchase an Commercial License, contact us purchase@thecreation.co.

    Copyright

    Copyright (C) 2022 Creation Studio Limited.

    Keywords

    none

    Install

    npm i @pluginjs/color-picker

    Homepage

    pluginjs.com

    DownloadsWeekly Downloads

    1

    Version

    0.8.20

    License

    GPL-3.0

    Unpacked Size

    291 kB

    Total Files

    21

    Last publish

    Collaborators

    • thecreation
    • kaptinlin