you should replace <sidebar button-class="#openSidebar"> with <sidebar button-class="'#openSidebar'">