UNPKG

quasar-framework

Version:

Build responsive SPA, SSR, PWA, Hybrid Mobile Apps and Electron apps, all simultaneously using the same codebase

42 lines (40 loc) 1.09 kB
import mixin from './spinner-mixin.js' export default { name: 'QSpinnerInfinity', mixins: [mixin], render (h) { return h('svg', { staticClass: 'q-spinner', class: this.classes, attrs: { 'width': this.size, 'height': this.size, 'viewBox': '0 0 100 100', 'preserveAspectRatio': 'xMidYMid' } }, [ h('path', { attrs: { 'd': 'M24.3,30C11.4,30,5,43.3,5,50s6.4,20,19.3,20c19.3,0,32.1-40,51.4-40C88.6,30,95,43.3,95,50s-6.4,20-19.3,20C56.4,70,43.6,30,24.3,30z', 'fill': 'none', 'stroke': 'currentColor', 'stroke-width': '8', 'stroke-dasharray': '10.691205342610678 10.691205342610678', 'stroke-dashoffset': '0' } }, [ h('animate', { attrs: { 'attributeName': 'stroke-dashoffset', 'from': '0', 'to': '21.382410685221355', 'begin': '0', 'dur': '2s', 'repeatCount': 'indefinite', 'fill': 'freeze' } }) ]) ]) } }