addTriggers(sb) {
        const sbTriggers = document.querySelectorAll(`[${this.TRIGGER}]`);

        sbTriggers.forEach(btn => {
            btn.addEventListener('click', e => {
                sb.classList.toggle(`${this.COLLAPSED}`);
            });
        });
    }
/**
     * Adds listeners to buttons
     * @param {Object} sb The sidebar
    */
Adds listeners to buttons
@param {Object} sb The sidebar
Adds listeners to buttons @param { Object } sb The sidebar
addTriggers(sb) {
        const sbTriggers = document.querySelectorAll(`[${this.TRIGGER}]`);
        sbTriggers.forEach(btn => {
            btn.addEventListener('click', e => {
                sb.classList.toggle(`${this.COLLAPSED}`);
            });
        });
    }
addTriggers ( sb ) { const sbTriggers = document . querySelectorAll ( ` ${ this . TRIGGER } ` ) ; sbTriggers . forEach ( btn => { btn . addEventListener ( 'click' , e => { sb . classList . toggle ( ` ${ this . COLLAPSED } ` ) ; } ) ; } ) ; }
Adds listeners to buttons
 @param {Object} sb The sidebar
Adds listeners to buttons @param { Object } sb The sidebar