Projet

Général

Profil

Paste
Statistiques
| Branche: | Révision:

root / src / app / about / about.component.ts @ f3d5fa3b

Historique | Voir | Annoter | Télécharger (597 octets)

1
import { Component, OnInit } from "@angular/core";
2
import { RadSideDrawer } from "nativescript-ui-sidedrawer";
3

    
4
import * as app from "tns-core-modules/application";
5

    
6
@Component({
7
    selector: "About",
8
    templateUrl: "./about.component.html"
9
})
10
export class AboutComponent implements OnInit {
11
    constructor() {
12
        // Use the component constructor to inject providers.
13
    }
14

    
15
    ngOnInit(): void {
16
        // Init your component properties here.
17
    }
18

    
19
    onDrawerButtonTap(): void {
20
        const sideDrawer = <RadSideDrawer>app.getRootView();
21
        sideDrawer.showDrawer();
22
    }
23

    
24
}
Redmine Appliance - Powered by TurnKey Linux