UNPKG

@this-dot/route-config

Version:

A library containing directives and services for configuring components via Route's routeData property

20 lines (19 loc) 1.25 kB
import { ModuleWithProviders } from '@angular/core'; import * as i0 from "@angular/core"; import * as i1 from "./route-tag/route-tag.directive"; import * as i2 from "./route-tag/not-in-route-tags.pipe"; import * as i3 from "./route-data-has/route-data-has.directive"; import * as i4 from "@angular/common"; import * as i5 from "./route-data/route-data.module"; export declare class RouteConfigModule { /** * Registers the RouteConfigModule and sets the providers globally. * Make sure you call the forRoot method in your root module. * * @remarks You still need to import the module without calling the forRoot method in other modules so you can use the pipes and directives from this module. */ static forRoot(): ModuleWithProviders<RouteConfigModule>; static ɵfac: i0.ɵɵFactoryDeclaration<RouteConfigModule, never>; static ɵmod: i0.ɵɵNgModuleDeclaration<RouteConfigModule, [typeof i1.RouteTagDirective, typeof i2.InRouteTags$Pipe, typeof i3.RouteDataHasDirective], [typeof i4.CommonModule, typeof i5.RouteDataModule], [typeof i1.RouteTagDirective, typeof i2.InRouteTags$Pipe, typeof i5.RouteDataModule, typeof i3.RouteDataHasDirective]>; static ɵinj: i0.ɵɵInjectorDeclaration<RouteConfigModule>; }