bolier plate code for filter demo
This commit is contained in:
parent
81dbc18cfe
commit
42569b3c81
@ -27,6 +27,10 @@ const routes: Routes = [
|
||||
{
|
||||
path: 'pagination-demo',
|
||||
loadChildren: ()=> import('./pagination-demo/pagination-demo.module').then(m => m.PaginationDemoModule)
|
||||
},
|
||||
{
|
||||
path: 'grid-filter',
|
||||
loadChildren: ()=> import('./grid-filter-demo/grid-filter-demo.module').then(m => m.GridFilterDemoModule)
|
||||
}
|
||||
];
|
||||
|
||||
|
@ -21,6 +21,9 @@
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" routerLink="pagination-demo">pagination Demo</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link" routerLink="grid-filter">Fitering Demo</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="col-lg-10" style="padding-top: 5px">
|
||||
|
15
src/app/grid-filter-demo/grid-filter-demo-routing.module.ts
Normal file
15
src/app/grid-filter-demo/grid-filter-demo-routing.module.ts
Normal file
@ -0,0 +1,15 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { Routes, RouterModule } from '@angular/router';
|
||||
import { GridFilterDemoComponent } from './grid-filter-demo/grid-filter-demo.component';
|
||||
|
||||
|
||||
const routes: Routes = [{
|
||||
path: '',
|
||||
component: GridFilterDemoComponent
|
||||
}];
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forChild(routes)],
|
||||
exports: [RouterModule]
|
||||
})
|
||||
export class GridFilterDemoRoutingModule { }
|
15
src/app/grid-filter-demo/grid-filter-demo.module.ts
Normal file
15
src/app/grid-filter-demo/grid-filter-demo.module.ts
Normal file
@ -0,0 +1,15 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
|
||||
import { GridFilterDemoRoutingModule } from './grid-filter-demo-routing.module';
|
||||
import { GridFilterDemoComponent } from './grid-filter-demo/grid-filter-demo.component';
|
||||
|
||||
|
||||
@NgModule({
|
||||
declarations: [GridFilterDemoComponent],
|
||||
imports: [
|
||||
CommonModule,
|
||||
GridFilterDemoRoutingModule
|
||||
]
|
||||
})
|
||||
export class GridFilterDemoModule { }
|
@ -0,0 +1 @@
|
||||
<p>grid-filter-demo works!</p>
|
@ -0,0 +1,15 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'ps-grid-filter-demo',
|
||||
templateUrl: './grid-filter-demo.component.html',
|
||||
styleUrls: ['./grid-filter-demo.component.scss']
|
||||
})
|
||||
export class GridFilterDemoComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit(): void {
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user