Skip to content

BackTop provides a back-to-top functionality for use with your rails application. It will append a back to top icon at the bottom right corner when user scrolls below the top fold.

License

Notifications You must be signed in to change notification settings

bimovidia/backtop

Repository files navigation

BackTop Gem Version

BackTop provides a back-to-top functionality for use with your rails application. It will append a back to top icon at the bottom right corner when user scrolls below the top fold.

Dependencies

BackTop depends on the following:

Installation

Add this to your Gemfile:

gem 'backtop'

and run bundle install.

Usage

In your application.css, include the css file:

/*
 *= require backtop
 */

In your application.js, include the js file:

//= require backtop

Then restart your webserver if it was previously running.

Congrats! You now have back to top functionality in your app.

Copyright

BackTop is licensed under the MIT License

About

BackTop provides a back-to-top functionality for use with your rails application. It will append a back to top icon at the bottom right corner when user scrolls below the top fold.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published