Git Product home page Git Product logo

angular-colorpicker's Introduction

angular-colorpicker

angular-colorpicker

注意

该颜色选择器将作为ui组件的形式并入angular-components

Annoucement

a new initiative, more active is available at angular-components.

Demo

click here

一个基于angularJS的颜色选择器,目前具备以下特性:

  • 3种选色模式 经典模式、自定义选择模式、历史记录
  • 支持的颜色格式 目前仅支持rgb,rgba,hex,默认是hex格式
  • 支持语言设置 默认是中文

a beautiful color picker based on angularJS.It supports the following features:

  • 3 modes of picker pallete, custom, history
  • Color types rgb, rgba ,hex.
  • Languages zh-cn, zh-tw, en, pt.

Requirements

  • jquery
  • angular 1.3.x(one-time binding)

Install

bower install angular-colorpicker

npm install angular-colorpicker

Basic Usage

<colorpicker color="color" color-type="rgba" color-language="zh-CN"></colorpicker>
var app = angular.module('app',['ui.colorpicker']);

Options

  • color 颜色值
  • color-type 颜色格式(rgb,rgba,hex) Default hex
  • color-language 语言设置(zh-cn,zh-tw,en...) Default zh-cn

Browser Support

ie9+ chrome firefox safari

License


This colopicker plugin is licensed under the MIT license.

Copyright (c) 2016 linjinying

angular-colorpicker's People

Contributors

evertontavaresdev avatar narol1024 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

angular-colorpicker's Issues

是否支持文本输入颜色值

请问组件是否支持直接输入颜色值或rgb(根据color-type) 然后设置颜色。 不然按照设计稿出来的颜色值没法直接用

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.