Code Monkey home page Code Monkey logo

silverstripe-colourpicker's Introduction

SilverStripe Colour Picker Field

Does what it says on the box - provides a pop-up colour picker functionality, turning a text field into a colour picker field.

!https://raw.github.com/ninty9notout/silverstripe-colourpicker/master/colourpicker.png!

Uses the "jQuery MiniColors":http://labs.abeautifulsite.net/jquery-minicolors/ plugin by "A Beautiful Site":http://www.abeautifulsite.net/ for the colour picker, while using the built in entwine library to successfully bind the MiniColors plugin to the necessary elements.

Usage

There are various way to install this, but the easiest is to download the repository and add it to your SilverStripe root.

Once installed, you can use the following to initialise the colour picker field using the following:

new ColourPicker($name, $title)

Contributing

This field was made because a simple colour picker was required for a project, and existing colour picker fields that are out there were unsatisfactory. Please note that is still very young. The plan it to fully utilise MiniColors various functionalities as needed in the future.

Have any changes in mind?

Do your thing

Make a pull request

???

Profit

silverstripe-colourpicker's People

Contributors

priyashantha avatar ninty9notout avatar oilee80 avatar

Stargazers

Loz Calver avatar  avatar  avatar Steve Hill avatar

Watchers

Nivanka Fonseka avatar  avatar James Cloos avatar Pathum avatar  avatar

silverstripe-colourpicker's Issues

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.