0.0
No release in over 3 years
Low commit activity in last 3 years
Before/after image slider for spina CMS
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.17
~> 10.0
 Project Readme

Spina::Slider

This gem adds a TwentyTwenty before/after image slider to text fields for SpinaCMS.

Installation

Add this line to your application's Gemfile:

gem 'spina-slider'

And then execute:

$ bundle install

Usage

Add these lines to your application.html.erb

<%= javascript_include_tag 'slider'%>
<%= stylesheet_link_tag 'twentytwenty-no-compass'%>

Add these lines to /app/assets/config/manifest.js

//= link twentytwenty-no-compass.css
//= link slider.css
//= link slider.js

License

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

Code of Conduct

Everyone interacting in the Spina::Slider project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.