0.0.3 • Published 1 year ago

mat-table-ext-sammmm v0.0.3

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

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 import modules, you can define a can theme for mat-table-ext. More details about theming..

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

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

License

MIT