File

src/app/settings/settings-navigation.ts

Extends

Compbaser

Metadata

changeDetection ChangeDetectionStrategy.OnPush
host {
    "[@routeAnimation]":"true",
    "[style.display]":"'block'"
}
template
<!-- not using two factor for now -->
<!--<Twofactor></Twofactor>-->

Constructor

constructor()

Methods

destroy
destroy()
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() {
    }
}
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""