0.0.67 • Published 1 year ago

samplwe-table-ext v0.0.67

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

Mat Table Extension

This library was generated with Angular CLI version 14.2.10.

Installation

At first, you should install the Angular Material and setup it. Learn more about the setup.

Install the Extension library:

$ npm i mat-table-ext

Setup

Import the MatTableExtModule into imports array.

import { MatTableExtModule } from 'mat-table-ext';

@NgModule({
  ...
  imports: [MatTableExtModule,...],
  ...
})
export class YourAppModule {
}
After adding the MatTableExtModule to your application, 
Now you have to add path of assets of table into your application.
Add those files into your angular.json file under build and test(if required)
 {
   "assets": [
     {
       "glob": "**/*",
       "input": "./node_modules/mat-table-ext/assets",
       "output": "/assets/"
     }
   ]
 }

Code scaffolding

Run ng generate component component-name --project mat-table-ext to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project mat-table-ext.

Note: Don't forget to add --project mat-table-ext or else it will be added to the default project in your angular.json file.

Build

Run ng build mat-table-ext to build the project. The build artifacts will be stored in the dist/ directory.

Running unit tests

Run ng test mat-table-ext to execute the unit tests via Karma.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI Overview and Command Reference page.

0.0.67

1 year ago

0.0.66

1 year ago

0.0.65

1 year ago

0.0.64

1 year ago