dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_GridModule cluster_GridModule_GridDirective_providers cluster_GridModule_declarations cluster_GridModule_exports cluster_GridModule_providers ColumnDirective ColumnDirective GridModule GridModule ColumnDirective->GridModule GridDirective GridDirective GridDirective->GridModule RowDirective RowDirective RowDirective->GridModule ColumnDirective ColumnDirective GridModule->ColumnDirective GridDirective GridDirective GridModule->GridDirective RowDirective RowDirective GridModule->RowDirective {    provide: GridService, deps: [[new Optional(), new SkipSelf(), GridService]], useFactory: (parentService: GridService) => {        return parentService || new GridService();    } } {    provide: GridService, deps: [[new Optional(), new SkipSelf(), GridService]], useFactory: (parentService: GridService) => {        return parentService || new GridService();    } } {    provide: GridService, deps: [[new Optional(), new SkipSelf(), GridService]], useFactory: (parentService: GridService) => {        return parentService || new GridService();    } }->GridDirective GridService GridService GridService->GridModule

File

src/grid/grid.module.ts

import { NgModule } from "@angular/core";
import { CommonModule } from "@angular/common";

import { ColumnDirective } from "./column.directive";
import { RowDirective } from "./row.directive";
import { GridDirective } from "./grid.directive";
import { GridService } from "./grid.service";

@NgModule({
	declarations: [
		ColumnDirective,
		GridDirective,
		RowDirective
	],
	exports: [
		ColumnDirective,
		GridDirective,
		RowDirective
	],
	providers: [GridService],
	imports: [CommonModule]
})
export class GridModule {}

results matching ""

    No results matching ""