In this article we are going to show different spinners available in Ionic. In our last article we learned to make a small application with Ionic and there we also learned to code and debug in Visual Studio Code. Here are the last two articles,
Nowadays, we have a lot of frameworks which provide a lot of predefined tools and libraries to make our application more attractive and fast. Here in ionic we have lots of predefined icons in the form of spinners. In this article we are going to make a web page on which we will use those different predefined icon spinners.
Directory – IONIC_Spinners
File – index.html
Directory - Style

Step 2. Start code to the application
index.html
In this page we used ion-spinnerdirective that provides a variety of animated spinners. Spinners enable us to give feedback to our users that the app is processing/thinking/waiting, or whatever we’d like it to indicate.
Spinner_Style.css
spinner_Ionic.min.css
File from the url.
File from the url.
Step 3: Run the application,

File – index.html
Directory - Style
- File- Spinner_Style.css
- File- spinner_Ionic.min.css
- File- Spinner_JS.bundle.js
- File- Spinner_Ionic.bundle.min.js

Step 2. Start code to the application
index.html
In this page we used ion-spinnerdirective that provides a variety of animated spinners. Spinners enable us to give feedback to our users that the app is processing/thinking/waiting, or whatever we’d like it to indicate.
- <html ng-app="ionicApp">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
- <title>Ionic Spinners</title>
- <link href="Style\spinner_Ionic.min.css" rel="stylesheet">
- <link href="Style\Spinner_Style.css" rel="stylesheet">
- <scriptsrc="JS\Spinner_Ionic.bundle.min.js">
- </script>
- <scriptsrc="JS\Spinner_JS.bundle.js">
- </script>
- </head>
- <body ng-controller="MyCtrl">
- <ion-content scroll="false" class="has-header">
- <table>
- <th>
- <caption>Spinner in Ionic</caption>
- </th>
- <tr>
- <td>
- <ion-spinner icon="android"></ion-spinner>
- </td>
- <td>
- <ion-spinner icon="ios"></ion-spinner>
- </td>
- <td>
- <ion-spinner icon="ios-small"></ion-spinner>
- </td>
- <td>
- <ion-spinner icon="bubbles" class="spinner-balanced"></ion-spinner>
- </td>
- <td>
- <ion-spinner icon="circles" class="spinner-energized"></ion-spinner>
- </td>
- </tr>
- <tr>
- <td>Spinner for Android</td>
- <td>Spinner forIOS</td>
- <td>Small Spinner for IOS </td>
- <td>Spinner in Bubbles</td>
- <td>Spinner With Circles</td>
- </tr>
- <tr>
- <td>
- <ion-spinner icon="crescent" class="spinner-royal"></ion-spinner>
- </td>
- <td>
- <ion-spinner icon="dots" class="spinner-dark"></ion-spinner>
- </td>
- <td>
- <ion-spinner icon="lines" class="spinner-calm"></ion-spinner>
- </td>
- <td>
- <ion-spinner icon="ripple" class="spinner-assertive"></ion-spinner>
- </td>
- <td>
- <ion-spinner icon="spiral"></ion-spinner>
- </td>
- </tr>
- <tr>
- <td>Royal Spinner</td>
- <td>Dark Spinner</td>
- <td>Spinner With Lines</td>
- <td>Ripple</td>
- <td>Spiral</td>
- </tr>
- </table>
- </ion-content>
- </body>
- </html>
- body
- {
- cursor: url('http://ionicframework.com/img/finger.png'),
- auto;
- position: relative;
- }
- table
- {
- position: absolute;
- top: 0;
- bottom: 0;
- left: 0;
- right: 0;
- margin: auto;
- width: 100 % ;
- height: 100 % ;
- }
- th
- {
- text - align: centre;
- }
- caption
- {
- font - size: xx - large;
- font - weight: bolder;
- color: blue;
- }
- td
- {
- text - align: center;
- margin - bottom: 40 px!important;
- }
- .spinner svg
- {
- width: 19 % !important;
- height: 85 px!important;
- }
File from the url.
- Spinner_JS.bundle.js
- angular.module('ionicApp', ['ionic'])
- .controller('MyCtrl', function($scope) {
- });
- Spinner_Ionic.bundle.min.js
Step 3: Run the application,




Bhuvanesh MohankumarPosted May 10, 2016, 2:25 AM
Good one..
Shubham KumarPosted Apr 25, 2016, 12:33 AM
Thank you all
Kuppurasu NagarajPosted Apr 14, 2016, 9:37 AM
Nice Sharing..
Vignesh ManiPosted Apr 14, 2016, 8:19 AM
Nice
Shubham KumarPosted Apr 13, 2016, 4:12 AM
Thank you all
Mohammed IbrahimPosted Apr 12, 2016, 2:08 PM
nice info
Debasis SahaPosted Apr 12, 2016, 1:22 PM
Good One..
Rahul Kumar SaxenaPosted Apr 12, 2016, 5:56 AM
Good Show
Gowtham RajamanickamPosted Apr 12, 2016, 2:07 AM
Good One, Thanks for sharing