mseemann/angular2-mdl

View on GitHub
projects/core/src/lib/badge/mdl-badge.module.ts

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
import { ModuleWithProviders, NgModule } from "@angular/core";
import {
  MdlBadgeDirective,
  MdlBadgeNoBackgroundDirective,
  MdlBadgeOverlapDirective,
} from "./mdl-badge.directive";

const MDL_BADGE_DIRECTIVES = [
  MdlBadgeDirective,
  MdlBadgeOverlapDirective,
  MdlBadgeNoBackgroundDirective,
];

@NgModule({
  imports: [],
  exports: MDL_BADGE_DIRECTIVES,
  declarations: MDL_BADGE_DIRECTIVES,
})
export class MdlBadgeModule {
  public static forRoot(): ModuleWithProviders<MdlBadgeModule> {
    return {
      ngModule: MdlBadgeModule,
      providers: [],
    };
  }
}

export * from "./mdl-badge.directive";