0.2.6 • Published 8 years ago
@custom-element/refresh-indicator v0.2.6
Refresh Indicator
Material Design Spec The refresh indicator appears only in conjunction with a refresh gesture or action. Syncing does not display a refresh indicator.
Installation
Just add the following script(< 2kb gzipped/polyfill in it) to your website. It will add CSS only once if required.
<script defer src="https://unpkg.com/@custom-element/refresh-indicator"></script>
For npm users
$ npm install @custom-element/refresh-indicator --save-dev
import '@custom-element/refresh-indicator'; // import and use it
Example
<a-refresh-indicator></a-refresh-indicator>