定制 ninty9notout/silverstripe-colourpicker 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ninty9notout/silverstripe-colourpicker

最新稳定版本:1.0.0

Composer 安装命令:

composer require ninty9notout/silverstripe-colourpicker

包简介

Provides a pop-up colour picker functionality

README 文档

README

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?

Fork from "GitHub":https://github.com/ninty9notout/silverstripe-colourpicker

Do your thing

Make a pull request

???

Profit

统计信息

  • 总下载量: 958
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 4
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-07-28