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