attributeChangedCallback(name, oldVal, newVal) {
        if (oldVal !== newVal) {
            switch(name) {
                case 'int-start':
                    this.int_start = newVal;
                    break;
                case 'int-end':
                    this.int_end = newVal;
                    break;
                case 'value':
                    this.value = newVal;
                    break;
                case 'round-button-position':
                    this.roundButtonPosition = newVal;
                    break;
            }
        }
    }
// To do when a attribute changed
To do when a attribute changed
To do when a attribute changed
attributeChangedCallback(name, oldVal, newVal) {
        if (oldVal !== newVal) {
            switch(name) {
                case 'int-start':
                    this.int_start = newVal;
                    break;
                case 'int-end':
                    this.int_end = newVal;
                    break;
                case 'value':
                    this.value = newVal;
                    break;
                case 'round-button-position':
                    this.roundButtonPosition = newVal;
                    break;
            }
        }
    }
attributeChangedCallback ( name , oldVal , newVal ) { if ( oldVal !== newVal ) { switch ( name ) { case 'int-start' : this . int_start = newVal ; break ; case 'int-end' : this . int_end = newVal ; break ; case 'value' : this . value = newVal ; break ; case 'round-button-position' : this . roundButtonPosition = newVal ; break ; } } }
To do when a attribute changed
To do when a attribute changed