Projet

Général

Profil

Paste
Statistiques
| Branche: | Révision:

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

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

1
import { Component, OnInit } from "@angular/core";
2
import { RadSideDrawer } from "nativescript-ui-sidedrawer";
3
import * as app from "tns-core-modules/application";
4

    
5
@Component({
6
    selector: "Featured",
7
    templateUrl: "./featured.component.html"
8
})
9
export class FeaturedComponent implements OnInit {
10

    
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
}
Redmine Appliance - Powered by TurnKey Linux