No commit activity in last 3 years
No release in over 3 years
Rails wrapper implementation of Modulargrid.js
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Runtime

>= 3.1
 Project Readme

Modulargrid::Rails

Rails wrapper implementation of ModularGrid.js

Installation

Add this line to your application's Gemfile:

gem 'modulargrid-rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install modulargrid-rails

Usage

Load Modulargrid in your application layout:

= javascript_include_tag 'modulargrid' if Rails.env == 'development'

or call in application.js

//= require modulargrid

Grid keybindings:

  • Ctrl + ' - show/hide grid
  • Shift + f - show/hide fonts/grid
  • Shift + v - show/hide vertical grid
  • Shift + h - show/hide horizontal grid

Guides keybindings:

  • Ctrl + ; - show/hide guides

Window size keybindings:

  • Shift + r - change window size

Image layout keybindings:

  • Ctrl + \ - show/hide image layout

Change opacity level keybindings:

  • Shift + ] - less transparent
  • Shift + [ - more transparent