Your footer is fixed.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
vendor/assets/javascripts
.gitignore
CODE_OF_CONDUCT.md
Gemfile
LICENSE.txt
README.md
Rakefile
fixed_footer-rails.gemspec

README.md

fixed_footer-rails

Injects fixed_footer.js into your app.

Installation

Add this line to your application's Gemfile:

gem 'fixed_footer-rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install fixed_footer-rails

And in your application.js manifest:

//= require fixed-footer

Usage

Call constructor.

# app/assets/javascripts/footer.coffee
$(document).on "turbolinks:load", ->
  new FixedFooter("your-footer-id")

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/Masaki Komagata/fixed_footer-rails. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

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