onRender() {
        if (this.sideBarMenu()) {
            initSidebar(this.element.querySelector(".mg.sidebar"))
        }
        this.registerComponents();
    }
/**
     * Override this method to register components
     */
Override this method to register components
Override this method to register components
onRender() {
        if (this.sideBarMenu()) {
            initSidebar(this.element.querySelector(".mg.sidebar"))
        }
        this.registerComponents();
    }
onRender ( ) { if ( this . sideBarMenu ( ) ) { initSidebar ( this . element . querySelector ( ".mg.sidebar" ) ) } this . registerComponents ( ) ; }
Override this method to register components
Override this method to register components