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

netsign-ios-checkboxes

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

netsign-ios-checkboxes

  • 0.1.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

iOS Style Checkboxes for Rails 3.1

This gem provides an easy way of using iOS style checkboxes.

Install

Please be sure to have Rails Assets Pipeline enabled.

Add the following to your Gemfile, preferably inside the assets group:

gem 'ios-checkboxes'
gem 'jquery' # This is required by ios-checkboxes

Then as usually:

$ bundle install

Usage

After installation, all you need to do is to require ios-checkboxes inside JavaScript/CoffeeScript and CSS files.

Usually you would add this to your app/assets/javascripts/application.js file:

//= require ios-checkboxes

This will also automatically require jquery.

And also update your app/assets/javascripts/applications.css to inlude ios-checkboxes

/*
 *= require ios-checkboxes
 *= require_self
*/

That's it. Now you can write stuff like $(".on-off").iphoneStyle().

Development

  • Source hosted at GitHub. See rails directory.
  • Report issues and feature requests to GitHub Issues

To update the gem with the latest files do:

cd rails
rake update
# Now go and update the version manually in lib/ios-checkboxes/version.rb
git add .
git commit -m 'update rails gem'
rake release

FAQs

Package last updated on 25 Jan 2012

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