Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cdk-table-exporter

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cdk-table-exporter

Abstract CdkTable Exporter

  • 15.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
13K
increased by14.04%
Maintainers
1
Weekly downloads
 
Created
Source

CdkTable Table Exporter

Node version Total Downloads

!! If you are using angular material please use mat-table-exporter

This project facilitates the common functionalities for CdkTable implementations abstracting the behavior that can change among different CdkTable implementations, see 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 cdk-table-exporter

NOTE: Angular versions older than Angular 8 should install cdk-table-exporter@1.2.5

npm install cdk-table-exporter@1.2.5

For Angular versions between 8-13 (inclusive), please install cdk-table-exporter@10.2.4

npm install cdk-table-exporter@10.2.4

After installing cdk-table-exporter import CdkTableExporterModule in your ngModule

import { CdkTableExporterModule } from '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:

  1. Generate a directive class
  2. Extend CdkTableExporter class implement the abstract methods

Contributing

This project is a library project inside 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:

  1. Do npm install in ng-material-extensions directory
  2. Do npm install in ng-material-extensions\projects\cdk-table-exporter directory
  3. Go to ng-material-extensions directory
  4. Build it:
ng build cdk-table-exporter
  1. You can run the showcase application and see your changes in action. In ng-material-extensions run ng s -o

 

Support & Donations

Feel free to show your support. Donating supporters will be added into Supporters section inside the README.md of the repository.

GitHub Org's stars -> Become a star-gazer, giving a star at Github

Crypto Donation -> Donate in crypto currencies

 

Licence

Apache-2.0

Keywords

FAQs

Package last updated on 21 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc