Skip to content

smartwynjava/custom-table

Repository files navigation

Mat Table Extension

This library was generated with Angular CLI version 14.2.10.

Documentation

Check out the demos and API.

Installation

First, you should install and set up Angular Material. 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, add the path of assets of table to your application.
Add the following to your angular.json file under build and test (if required).
 {
   "assets": [
     {
       "glob": "**/*",
       "input": "./node_modules/mat-table-ext/assets",
       "output": "/assets/"
     }
   ]
 }

Theming

After importing the module, you can pass your application theme to the mat-table-ext library by adding the following content to your theme file. More details about theming..

@use '../node_modules/mat-table-ext/assets/theming' as matext;

@include matext.mat-table-ext-theme($your-theme);

License

MIT

About

Read only repo for FDIC

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published