Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bootstrap-colorpick-rails

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bootstrap-colorpick-rails

  • 0.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

bootstrap-colorpicker-rails

A Colorpicker for Twitter Bootstrap, integrated with Rails assets pipeline

Bootstrap colorpicker for Rails Bootstrap is a toolkit from Twitter designed to kickstart development of webapps and sites. It includes base CSS and HTML for typography, forms, buttons, tables, grids, navigation, and more.

http://twitter.github.com/bootstrap/

Bootstrap colorpicker is a plugin for Bootstrap designed by Stefan Petre. It provides a stylish color picker for Bootstrap.

http://www.eyecon.ro/bootstrap-colorpicker/

bootstrap-colorpicker-rails project integrates colorpicker with Rails 3 assets pipeline.

http://github.com/alessani/bootstrap-colorpicker-rails

Rails > 3.1 Include bootstrap-colorpicker-rails in Gemfile;

group :assets do
  gem 'bootstrap-colorpicker-rails'
end

or you can install from latest build;

group :assets do
  gem 'bootstrap-colorpicker-rails', :require => 'bootstrap-colorpicker-rails',
                          :git => 'git://github.com/alessani/bootstrap-colorpicker-rails.git'
end

and run bundle install.

Stylesheets Add necessary stylesheet file to app/assets/stylesheets/application.css

*= require bootstrap-colorpicker

Javascripts Add necessary javascript(s) files to app/assets/javascripts/application.js

//= require bootstrap-colorpicker

Using bootstrap-colorpicker-rails Just call colorpicker() with any selector.

$('.colorpicker').colorpicker()

There are some options you can pass to colorpicker(). They are documented at http://www.eyecon.ro/bootstrap-colorpicker/

FAQs

Package last updated on 29 Jun 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc