import { Component } from '@angular/core';
import { NavController } from 'ionic-angular';
/**
 * Generated class for the UseFeatureComponent component.
 *
 * See https://angular.io/api/core/Component for more info on Angular
 * Components.
 */
var HTML_TEMPLATE = "\n<ion-header>\n  <ion-navbar color=\"primary\">\n    <ion-title>\n      Ionic Academy\n    </ion-title>\n  </ion-navbar>\n</ion-header>\n \n<ion-content padding>\n \n<div class=\"special-text\">Welcome to the special Ionic Academy Module!</div>\n  <button ion-button full icon-left (click)=\"leavePage()\">\n    <ion-icon name=\"close\"></ion-icon>\n  Close the Page</button>\n</ion-content>\n";
var CSS_STYLE = "\n.special-text {\n    font-weight: 800;\n    font-size: 15pt;\n    text-align: center;\n    color: #0000FF;\n}\n";
var UseFeatureComponent = /** @class */ (function () {
    function UseFeatureComponent(navCtrl) {
        this.navCtrl = navCtrl;
        console.log('Hello UseFeatureComponent');
        this.text = 'Hello World';
    }
    UseFeatureComponent.prototype.leavePage = function () {
        this.navCtrl.pop();
    };
    UseFeatureComponent.decorators = [
        { type: Component, args: [{
                    selector: 'use-feature',
                    template: HTML_TEMPLATE,
                    styles: [CSS_STYLE]
                },] },
    ];
    /** @nocollapse */
    UseFeatureComponent.ctorParameters = function () { return [
        { type: NavController, },
    ]; };
    return UseFeatureComponent;
}());
export { UseFeatureComponent };
//# sourceMappingURL=use-feature.js.map