Buscar
Gerardo Milman
\n \n \n \n `,this.setProgress(this.getAttribute("progress"))}setProgress(t){const e=this._circumference-t/100*this._circumference;this._root.querySelector("circle").style.strokeDashoffset=e}static get observedAttributes(){return["progress","radius","stroke","color"]}attributeChangedCallback(t,e,s){"progress"===t?this.setProgress(s):this.updateContent()}}window.customElements.define("progress-ring",t)}