github.com/readium/readium-lcp-server@v0.0.0-20240101192032-6e95190e99f1/frontend/manage/app/shared/sidebar/sidebar.component.ts (about)

     1  import { Component }        from '@angular/core';
     2  import { SidebarService }   from './sidebar.service';
     3  
     4  @Component({
     5      moduleId: module.id,
     6      selector: 'lcp-sidebar',
     7      templateUrl: 'sidebar.component.html'
     8  })
     9  
    10  export class SidebarComponent {
    11      constructor(private sidebarService: SidebarService) {
    12      }
    13  
    14      toggle() {
    15         this.sidebarService.toggle();
    16      }
    17  }