Projet

Général

Profil

Paste
Statistiques
| Branche: | Révision:

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

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

1 f3d5fa3b Eric Seigne
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: "Search",
7
    templateUrl: "./search.component.html"
8
})
9
export class SearchComponent 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