GithubHelp home page GithubHelp logo

bhanditz / bootstrap-colorpicker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from itsjavi/bootstrap-colorpicker

0.0 2.0 0.0 2.25 MB

Simple and customizable colorpicker component for jQuery, which is also compatible with Twitter Bootstrap.

Home Page: https://farbelous.io/bootstrap-colorpicker

License: MIT License

JavaScript 62.31% HTML 16.46% CSS 21.23%

bootstrap-colorpicker's Introduction

Bootstrap Colorpicker 3

Bootstrap Colorpicker is a simple and customizable colorpicker component for jQuery, which is also compatible with Twitter Bootstrap.

Build Status npm npm@next Donate Supporters

NOTE that this documentation refers to the next major version of the project.
Previous documentation can be found here: v2.5.2.

Install

You can get the latest version in many different ways:

  • Downloading a ZIP file from the releases
  • Cloning using Git: git clone https://github.com/farbelous/bootstrap-colorpicker.git
  • Installing via NPM: npm install bootstrap-colorpicker
  • Installing via Yarn: yarn add bootstrap-colorpicker
  • Installing via Composer: composer require itsjavi/bootstrap-colorpicker

To start using the component, most of the time you will only need the files under the dist folder. Example:

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <link href="dist/css/bootstrap-colorpicker.css" rel="stylesheet">
</head>
<body>
  <div class="container">
      <input id="mycp" type="text" class="form-control" />
  </div>
  <script src="//code.jquery.com/jquery-3.2.1.js"></script>
  <script src="dist/js/bootstrap-colorpicker.js"></script>
  <script>
    $(function () {
      $('#mycp').colorpicker();
    });
  </script>
</body>

Requirements

Note that this library depends on jQuery >= 2.1.0.

The Twitter Bootstrap dependency is totally optional, since this library does not depend directly on it in order to work, except when Bootstrap-related classes like form-control and input-group-addon are used like in the examples. In that case you will need at least the Bootstrap CSS for everything to be displayed correctly.

Documentation

The documentation of this project is powered by JSDoc and the Minami template together with Handlebars for the examples.

Older versions:

Contributing

Please see CONTRIBUTING for details.

Credits

Originally written by Stefan Petre.

Continued and maintained by Javi Aguilar and other project contributors.

License

The MIT License (MIT). Please see License File for more information.

bootstrap-colorpicker's People

Contributors

itsjavi avatar xaguilars avatar mjolnic avatar tanqhnguyen avatar seiyria avatar killthekitten avatar krk avatar will-moore avatar codeodor avatar jetic83 avatar ninir avatar michaelbilcot avatar jaza avatar duckzland avatar craga89 avatar contagious06 avatar piotrantosik avatar snack-x avatar stefk avatar gergo85 avatar gitter-badger avatar thiromi avatar n1crack avatar bierdok avatar mateuszjarzewski avatar oliholz avatar xianvalencia avatar silvenon avatar soltmar avatar kmulvey avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.