How to use the @angular2-material/grid-list.MD_GRID_LIST_DIRECTIVES function in @angular2-material/grid-list

To help you get started, we’ve selected a few @angular2-material/grid-list 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 / +stocks / stocks-list.component.js View on Github external
};
    StocksListComponent.prototype.gotoDetail = function (stock) {
        var link = ['/stock-exchanges', stock.id];
        this.router.navigate(link);
    };
    StocksListComponent.prototype.add = function () {
        var link = ['/stock-exchanges/create'];
        this.router.navigate(link);
    };
    StocksListComponent = __decorate([
        core_1.Component({
            moduleId: module.id,
            selector: 'stocks-list',
            templateUrl: 'stocks-list.component.html',
            styleUrls: ['stocks-list.component.css'],
            directives: [grid_list_1.MD_GRID_LIST_DIRECTIVES, button_1.MD_BUTTON_DIRECTIVES, icon_1.MdIcon]
        }), 
        __metadata('design:paramtypes', [stock_service_1.StockService, router_1.Router, platform_browser_1.Title])
    ], StocksListComponent);
    return StocksListComponent;
}());
exports.StocksListComponent = StocksListComponent;

@angular2-material/grid-list

Angular 2 Material grid list

MIT
Latest version published 7 years ago

Package Health Score

66 / 100
Full package analysis