render() {
        if (this.infinite) {
            this.renderPercentage()
            this.progress_value.innerHTML = ""
            this.progress_circle.classList.add('gus_infinite_loop')
        }
        else {
            this.renderPercentage()
        }
    }
// Re-render the whole switch
Re-render the whole switch
Re - render the whole switch
render() {
        if (this.infinite) {
            this.renderPercentage()
            this.progress_value.innerHTML = ""
            this.progress_circle.classList.add('gus_infinite_loop')
        }
        else {
            this.renderPercentage()
        }
    }
render ( ) { if ( this . infinite ) { this . renderPercentage ( ) this . progress_value . innerHTML = "" this . progress_circle . classList . add ( 'gus_infinite_loop' ) } else { this . renderPercentage ( ) } }
Re-render the whole switch
Re - render the whole switch