How to use the angular2-toaster/angular2-toaster.ToasterService function in angular2-toaster

To help you get started, we’ve selected a few angular2-toaster 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 TwanoO67 / ngx-admin-lte / dist / layouts / auth / auth.js View on Github external
//     // Edge (IE 12+) => return version number
        //     // return parseInt( ua.substring( edge + 5, ua.indexOf( '.', edge ) ), 10 );
        //     return true;
        // }
        // // other browser
        // return false;
        return ua.includes('MSIE ') || ua.includes('Trident/') || ua.includes('Edge/');
    };
    LayoutAuthComponent = __decorate([
        core_1.Component({
            selector: 'app-layouts-auth',
            templateUrl: './auth.html'
        }),
        __metadata("design:paramtypes", [user_service_1.UserService,
            menu_service_1.MenuService,
            angular2_toaster_1.ToasterService,
            translate_service_1.TranslateService,
            router_1.ActivatedRoute])
    ], LayoutAuthComponent);
    return LayoutAuthComponent;
}());
exports.LayoutAuthComponent = LayoutAuthComponent;