test data-grid
This commit is contained in:
parent
2c7b3ab10f
commit
1bf36c03e9
@ -1,12 +1,14 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { DataGridComponent } from './data-grid/data-grid.component';
|
||||
|
||||
|
||||
|
||||
@NgModule({
|
||||
declarations: [],
|
||||
declarations: [DataGridComponent],
|
||||
imports: [
|
||||
CommonModule
|
||||
]
|
||||
],
|
||||
exports: [DataGridComponent]
|
||||
})
|
||||
export class DataGridModule { }
|
||||
|
@ -0,0 +1,5 @@
|
||||
<table>
|
||||
<tr>
|
||||
<th>some header</th>
|
||||
</tr>
|
||||
</table>
|
@ -0,0 +1,15 @@
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'ps-data-grid',
|
||||
templateUrl: './data-grid.component.html',
|
||||
styleUrls: ['./data-grid.component.scss']
|
||||
})
|
||||
export class DataGridComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
|
||||
ngOnInit(): void {
|
||||
}
|
||||
|
||||
}
|
@ -2,4 +2,5 @@
|
||||
* Public API Surface of ngx-cdk-ui
|
||||
*/
|
||||
|
||||
export * from './lib/data-grid/data-grid.module';
|
||||
export * from './lib/data-grid/data-grid.module';
|
||||
export * from './lib/data-grid/data-grid/data-grid.component';
|
@ -1 +1,5 @@
|
||||
<p>data-grid-demo-home works!</p>
|
||||
<h1>
|
||||
This is a demo for a grid.
|
||||
</h1>
|
||||
|
||||
<ps-data-grid></ps-data-grid>
|
@ -3,13 +3,15 @@ import { CommonModule } from '@angular/common';
|
||||
|
||||
import { DataGridDemoRoutingModule } from './data-grid-demo-routing.module';
|
||||
import { DataGridDemoHomeComponent } from './data-grid-demo-home/data-grid-demo-home.component';
|
||||
import { DataGridModule } from '@poweredsoft/ngx-cdk-ui';
|
||||
|
||||
|
||||
@NgModule({
|
||||
declarations: [ DataGridDemoHomeComponent],
|
||||
imports: [
|
||||
CommonModule,
|
||||
DataGridDemoRoutingModule
|
||||
DataGridDemoRoutingModule,
|
||||
DataGridModule
|
||||
]
|
||||
})
|
||||
export class DataGridDemoModule { }
|
||||
|
Loading…
Reference in New Issue
Block a user