How to use the @angular2-material/input.MD_INPUT_DIRECTIVES function in @angular2-material/input

To help you get started, we’ve selected a few @angular2-material/input examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github JacekKosciesza / InvestSystemsOrg / client / web / app / +contact / contact.component.js View on Github external
this.submitted = true;
        this.messages.push(this.message);
    };
    Object.defineProperty(ContactComponent.prototype, "diagnostic", {
        // TODO: Remove this when we're done
        get: function () { return JSON.stringify(this.message); },
        enumerable: true,
        configurable: true
    });
    ContactComponent = __decorate([
        core_1.Component({
            moduleId: module.id,
            selector: 'contact-us',
            templateUrl: 'contact.component.html',
            styleUrls: ['contact.component.css'],
            directives: [button_1.MD_BUTTON_DIRECTIVES, card_1.MD_CARD_DIRECTIVES, icon_1.MD_ICON_DIRECTIVES, input_1.MD_INPUT_DIRECTIVES]
        }), 
        __metadata('design:paramtypes', [angularfire2_1.AngularFire])
    ], ContactComponent);
    return ContactComponent;
}());
exports.ContactComponent = ContactComponent;
github JacekKosciesza / InvestSystemsOrg / client / web / app / +stocks / stock-edit.component.js View on Github external
});
            }
        });
    };
    StockEditComponent.prototype.cancel = function () {
    };
    StockEditComponent.prototype.save = function (newName) {
        this.stockService.updategetStockExchange(this.stockFirebaesObject, { name: newName });
    };
    StockEditComponent = __decorate([
        core_1.Component({
            moduleId: module.id,
            selector: 'stock-edit',
            templateUrl: 'stock-edit.component.html',
            styleUrls: ['stock-edit.component.css'],
            directives: [button_1.MD_BUTTON_DIRECTIVES, input_1.MD_INPUT_DIRECTIVES, icon_1.MdIcon]
        }), 
        __metadata('design:paramtypes', [stock_service_1.StockService, router_1.ActivatedRoute, platform_browser_1.Title])
    ], StockEditComponent);
    return StockEditComponent;
}());
exports.StockEditComponent = StockEditComponent;