src/app/settings/settings-navigation.ts
Compbaser
changeDetection | ChangeDetectionStrategy.OnPush |
host | { |
template |
|
constructor()
|
Defined in src/app/settings/settings-navigation.ts:26
|
destroy |
destroy()
|
Defined in src/app/settings/settings-navigation.ts:32
|
Returns :
void
|
import {ChangeDetectionStrategy, Component} from "@angular/core";
import {Compbaser} from "ng-mslib";
import {animate, state, style, transition, trigger} from "@angular/animations";
@Component({
changeDetection: ChangeDetectionStrategy.OnPush,
host: {
'[@routeAnimation]': 'true',
'[style.display]': "'block'"
},
animations: [
trigger('routeAnimation', [
state('*', style({opacity: 1})),
transition('void => *', [
style({opacity: 0}),
animate(333)
]),
transition('* => void', animate(333, style({opacity: 0})))
])
],
template: `
<!-- not using two factor for now -->
<!--<Twofactor></Twofactor>-->
`,
})
export class SettingsNavigation extends Compbaser {
constructor() {
super();
}
destroy() {
}
}