@msis/cdk-table-exporter
v1.0.5
Published
Abstract CdkTable Exporter for Angular 19
Maintainers
Readme
CdkTable Table Exporter
!! If you are using angular material please use @msis/mat-table-exporter
This project facilitates the common functionalities for CdkTable implementations abstracting the behavior that can change among different CdkTable implementations, see @msis/mat-table-exporter for angular material table export.
Getting Started
Install cdk-table-exporter if you are not using angular material in your project. In this case you have to implement your version of CdkTableExporter abstract class to use as your directive.
npm install --save @msis/cdk-table-exporterAfter installing cdk-table-exporter import CdkTableExporterModule in your ngModule
import { CdkTableExporterModule } from '@msis/cdk-table-exporter';@NgModule({
imports: [
...
CdkTableExporterModule
],
]})Usage
CdkTableExporter class defines the common functionality that an exporter directive should have. By extending it an implementing the abstract methods you will have an exporter of your own. Thus the usage is simply as follows:
- Generate a directive class
- Extend CdkTableExporter class implement the abstract methods
Contributing
This project is a library project inside samiwolf/ng-material-extensions angular workspace. If you are interested in the source code of this particular library you can get ready and build the project by applying the steps below:
- Do
npm installinng-material-extensionsdirectory - Do
npm installinng-material-extensions\projects\cdk-table-exporterdirectory - Go to
ng-material-extensionsdirectory - Build it:
ng build cdk-table-exporter- You can run the showcase application and see your changes in action. In
ng-material-extensionsrunng s -o
Support
Feel free to show your support by starring the repository:
-> Become a star-gazer, giving a star at Github
- Issues: https://github.com/samiwolf/ng-material-extensions/issues
- Repository: https://github.com/samiwolf/ng-material-extensions
Licence
Apache-2.0
