Disabled buttons with an amazing animation, linear and circle progress bars.
Link to the CSS file if you loaded phonon-base.css only:
<link rel="stylesheet" href="preloaders.css">
Link to the JS file if you loaded phonon-core.js only:
<script src="preloaders.js"></script>
require(['preloaders'], function(preloader)) {
preloader('#id').show();
});
Place this code inside the .content of your page.
<div class="circle-progress">
<div class="spinner"></div>
</div>
<div class="circle-progress negative">
<div class="spinner"></div>
</div>
<div class="circle-progress positive">
<div class="spinner"></div>
</div>
Add the .center class name.
<div class="circle-progress center">
<div class="spinner"></div>
</div>
Place this code inside the .content of your page.
<div class="progress">
<div class="determinate" style="width: 60%;"></div>
</div>
<div class="progress negative">
<div class="determinate" style="width: 60%;"></div>
</div>
<div class="progress positive">
<div class="determinate" style="width: 60%;"></div>
</div>
Also, there is a indicator with the dialog module.
phonon.preloader('#my-preloader').show();
phonon.preloader('#my-preloader').hide();