overflow-webapp/src/app/pages/pages.component.ts
2018-01-30 15:06:23 +09:00

28 lines
520 B
TypeScript

import { Component, OnInit, Input, OnChanges } from '@angular/core';
@Component({
selector: 'of-pages',
templateUrl: './pages.component.html',
styleUrls: ['./pages.component.scss']
})
export class PagesComponent implements OnInit {
@Input() isVisible = true;
visibility = 'shown';
sideNavOpened = true;
matDrawerOpened = false;
matDrawerShow = true;
sideNavMode = 'side';
constructor() { }
ngOnInit() {
}
getRouteAnimation(outlet) {
return outlet.activatedRouteData.animation;
}
}