dependencies Legend  Declarations  Module  Bootstrap  Providers  Exports cluster_ActivityDetailsPageModule cluster_ActivityDetailsPageModule_declarations ActivityDashboardPage ActivityDashboardPage ActivityDetailsPageModule ActivityDetailsPageModule ActivityDashboardPage->ActivityDetailsPageModule ActivityDetailsPage ActivityDetailsPage ActivityDetailsPage->ActivityDetailsPageModule ActivityTocPage ActivityTocPage ActivityTocPage->ActivityDetailsPageModule

File

src/app/my-groups/activity-details/activity-details.module.ts

import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { Routes, RouterModule } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { ActivityDetailsPage } from './activity-details.page';
import { CommonConsumptionModule } from '@project-sunbird/common-consumption';
import { TranslateModule } from '@ngx-translate/core';
import { PipesModule } from '@app/pipes/pipes.module';
import { RouterLinks } from '@app/app/app.constant';
import { ActivityTocPage } from './../activity-toc/activity-toc.page';
import { ActivityDashboardPage } from '../activity-dashboard/activity-dashboard.page';
import { ComponentsModule } from '@app/app/components/components.module';

const routes: Routes = [
  {
    path: '',
    component: ActivityDetailsPage
  },
  {
    path: RouterLinks.ACTIVITY_TOC,
    component: ActivityTocPage
  },
  {
    path: RouterLinks.ACTIVITY_DASHBOARD,
    component: ActivityDashboardPage
  }
];

@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    IonicModule,
    CommonConsumptionModule,
    TranslateModule.forChild(),
    RouterModule.forChild(routes),
    PipesModule,
    ComponentsModule
  ],
  declarations: [ActivityDetailsPage, ActivityTocPage, ActivityDashboardPage]
})
export class ActivityDetailsPageModule {}

results matching ""

    No results matching ""