mini-cdk-table-exporter
v9.0.0
Published
Abstract CdkTable Exporter
Downloads
210
Maintainers
Readme
CdkTable Table Exporter
!! If you are using angular material please use mini-mat-table-exporter
This project facilitates the common functionalities for CdkTable implementations abstracting the behavior that can change among different CdkTable implementations, see mini-mat-table-exporter for angular material table export.
Getting Started
Install mini-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 mini-cdk-table-exporter
NOTE: For the previous major versions of Angular install version 1.2.5
npm install --save [email protected]
After installing mini-cdk-table-exporter import CdkTableExporterModule in your ngModule
import { CdkTableExporterModule } from 'mini-cdk-table-exporter';
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 mat-table-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 install
inmat-table-extensions
directory - Do
npm install
inmat-table-extensions\projects\mini-cdk-table-exporter
directory - Go to
mat-table-extensions
directory - Build it:
ng build mini-cdk-table-exporter
Licence
Apache-2.0