render() {
        if (this.check_visible) {
            this.chips.classList.add('gus_chips_interactible')
        }
        if (this.checked && !this.cross_visible) {
            this.chips.classList.add("gus_chips_checked")
            if (this.check_visible) {
                this.chips_check.style.display = 'block'
            }
        }
        else {
            this.chips.classList.remove("gus_chips_checked")
            this.chips_check.style.display = 'none'
        }
        this.chips_content.innerHTML = `${this.content}`
        if (this.cross_visible) {
            this.chips_cross.style.display = 'auto'
        }
        else {
            this.chips_cross.style.display = 'none'
        }
    }
// Re-render the whole chips
Re-render the whole chips
Re - render the whole chips
render() {
        if (this.check_visible) {
            this.chips.classList.add('gus_chips_interactible')
        }
        if (this.checked && !this.cross_visible) {
            this.chips.classList.add("gus_chips_checked")
            if (this.check_visible) {
                this.chips_check.style.display = 'block'
            }
        }
        else {
            this.chips.classList.remove("gus_chips_checked")
            this.chips_check.style.display = 'none'
        }
        this.chips_content.innerHTML = `${this.content}`
        if (this.cross_visible) {
            this.chips_cross.style.display = 'auto'
        }
        else {
            this.chips_cross.style.display = 'none'
        }
    }
render ( ) { if ( this . check_visible ) { this . chips . classList . add ( 'gus_chips_interactible' ) } if ( this . checked && ! this . cross_visible ) { this . chips . classList . add ( "gus_chips_checked" ) if ( this . check_visible ) { this . chips_check . style . display = 'block' } } else { this . chips . classList . remove ( "gus_chips_checked" ) this . chips_check . style . display = 'none' } this . chips_content . innerHTML = ` ${ this . content } ` if ( this . cross_visible ) { this . chips_cross . style . display = 'auto' } else { this . chips_cross . style . display = 'none' } }
Re-render the whole chips
Re - render the whole chips