Giter Club home page Giter Club logo

ng-color-picker's Introduction

ng-color-picker

A simple color picker for AngularJS

Requirements

  • AngularJS v1.2.0+

Usage

<link href="color-picker.css" media="all" rel="stylesheet" type="text/css">
<script src="color-picker.js"></script>

...

<ng-color-picker selected='selected'></ng-color-picker>

Changing the default colors

<ng-color-picker selected='selected' colors="colors"></ng-color-picker>

Demo

http://ng-color-picker.herokuapp.com

License

The MIT License

ng-color-picker's People

Contributors

bambeusz avatar gwenhael-le-moine avatar joujiahe avatar ninjapixel avatar rodeoclash avatar simeg avatar xtreme-andrei-dinin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ng-color-picker's Issues

Ability to configure colors via a provider

Nice project. I'm going to fork and add this in a couple of weeks but if you want to add sooner :) The ability to configure the list of colors for a provider. This removes the hardcoded colors.

Callback on select is a bit "non Angular"

The callback when you select a colour is a bit non-angular, it might be worth using the attributes observe instead and requiring the ng:model directive for setting the data.

I'll fork and add in the next few weeks if you just want to close this ticket for now.

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.