No commit activity in last 3 years
No release in over 3 years
Lazy Mobile Tester from the page
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

>= 0
 Project Readme

Lazy Mobile Tester

RailsJazz https://www.patreon.com/igorkasyanchuk

Demo

"Laziness is the mother of progress" :)

We all know that we can use Chrome Dev Tools to check how app looks on a different resolutions.

But opening this tool, clicking, changing resolutions... It's just too many actions.

I'm as developer want an easy way to check how webpage looks on a different resolutions. With a simple click.

This is why I've created a simple gem which opens webpage in iframe and allows you to change width of it.

Usage

There are two ways how to use it:

  1. with button in top left corner to open page in IFRAME. To do this add in your layout inside body tag:
    <%= lazy_mobile_tester_button if defined?(LazyMobileTester) %>
  1. add a parameter to any URL ?_lazy=1 and open it. For example - instead of /users just open /users?_lazy=1

Installation

Add this line to your application's Gemfile:

gem "lazy_mobile_tester"

And then execute:

$ bundle

Contributing

You are welcome to contribute.

TODO

  • tests?
  • any other ideas?

License

The gem is available as open source under the terms of the MIT License.