mseemann/angular2-mdl

View on GitHub
projects/core/src/lib/layout/mdl-layout-drawer.component.ts

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
import { Component, HostBinding, ViewEncapsulation } from "@angular/core";

@Component({
  selector: "mdl-layout-drawer",
  template: ` <ng-content></ng-content>`,
  encapsulation: ViewEncapsulation.None,
})
export class MdlLayoutDrawerComponent {
  @HostBinding("class.mdl-layout__drawer")
  isDrawer = true;

  @HostBinding("class.is-visible")
  isDrawerVisible = false;
}