ionic Loading Animation
ion-spinner
ionSpinner provides many animated icons that spin for loading. When your interface is loading, you can present the corresponding loading icon to the user.
The icon uses SVG.
Usage
//默认用法
Like most other ionic components, the spinner can also use ionic's standard color naming rules, like this:
Example
HTML Code
CSS code
body {
cursor: url('http://www.runob.com/try/demo_source/finger.png'), auto;
}
p {
text-align: center;
margin-bottom: 40px !important;
}
.spinner svg {
width: 19% !important;
height: 85px !important;
}
JavaScript Code
angular.module('ionicApp', ['ionic'])
.controller('MyCtrl', function($scope) {
});
The effect is shown below: