Adding a spinner (loading bar) in your rails 4 application.

Add the following code to your rails application.js file.


Even though the code is pretty simple it ain't properly available in Stack Overflow questions and blog posts. To create a beautiful experience you can use spin.js file library or a simple gif image in the spinner div.

Comments

Popular posts from this blog

Doing it Right : Building on Organic Ideas

Building a chatbot using TF-IDF