attributeChangedCallback(name, oldVal, newVal) {
        if (oldVal !== newVal) {
            switch(name) {
                case 'content':
                    this.content = newVal
                    break;
                case 'days':
                    this.days = newVal
                    break;
                case 'hours':
                    this.hours = newVal
                    break;
                case 'cell-height':
                    this.cellHeight = newVal
                    break;
            }
            if (this.firstRenderDone) {
                this.render()
            }
        }
    }
// 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 'content':
                    this.content = newVal
                    break;
                case 'days':
                    this.days = newVal
                    break;
                case 'hours':
                    this.hours = newVal
                    break;
                case 'cell-height':
                    this.cellHeight = newVal
                    break;
            }
            if (this.firstRenderDone) {
                this.render()
            }
        }
    }
attributeChangedCallback ( name , oldVal , newVal ) { if ( oldVal !== newVal ) { switch ( name ) { case 'content' : this . content = newVal break ; case 'days' : this . days = newVal break ; case 'hours' : this . hours = newVal break ; case 'cell-height' : this . cellHeight = newVal break ; } if ( this . firstRenderDone ) { this . render ( ) } } }
To do when a attribute changed
To do when a attribute changed