0.0.11 • Published 14 days ago
mat-table-ext v0.0.11
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