dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_ListModule cluster_ListModule_imports cluster_ListModule_exports cluster_ListModule_declarations ListComponent ListComponent ListModule ListModule ListComponent->ListModule ListComponent ListComponent ListModule->ListComponent TodoComponent TodoComponent TodoComponent->ListModule

File

src/app/list/list.module.ts

Description

The list of todos module

Contains list component which can filter types of todos :

Type API
completed displayCompleted
all displayAll
remaining displayRemaining

Declarations

Imports

Exports

import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';

import { ListComponent } from './list.component';

import { TodoModule } from './todo/';
import { TodoComponent } from './todo/todo.component';

/**
 * @ignore
 */
const MODULES = [TodoModule, BrowserModule];

/**
 * The list of todos module
 *
 * Contains list component which can filter types of todos :
 *
 * | Type | API |
 * | --- | --- |
 * | completed | displayCompleted |
 * | all | displayAll |
 * | remaining | displayRemaining |
 */
@NgModule({
    imports: [MODULES, TodoComponent],
    declarations: [ListComponent],
    exports: [ListComponent],
})
export class ListModule {}

results matching ""

    No results matching ""