angular-datatables

  • Version 17.1.0
  • Published
  • 82.4 kB
  • 1 dependency
  • MIT license

Install

npm i angular-datatables
yarn add angular-datatables
pnpm add angular-datatables

Overview

Angular directive for DataTables

Index

Classes

class DataTableDirective

class DataTableDirective implements OnDestroy, OnInit {}

    constructor

    constructor(el: ElementRef, vcr: ViewContainerRef, renderer: Renderer2);

      property dtInstance

      dtInstance: Promise<Api>;
      • The DataTable instance built by the jQuery library [DataTables](datatables.net).

        It's possible to execute the [DataTables APIs](https://datatables.net/reference/api/) with this variable.

      property dtOptions

      dtOptions: ADTSettings;
      • The DataTable option you pass to configure your table.

      property dtTrigger

      dtTrigger: Subject<ADTSettings>;
      • This trigger is used if one wants to trigger manually the DT rendering Useful when rendering angular rendered DOM

      property ɵdir

      static ɵdir: i0.ɵɵDirectiveDeclaration<
      DataTableDirective,
      '[datatable]',
      never,
      {
      dtOptions: { alias: 'dtOptions'; required: false };
      dtTrigger: { alias: 'dtTrigger'; required: false };
      },
      {},
      never,
      never,
      false,
      never
      >;

        property ɵfac

        static ɵfac: i0.ɵɵFactoryDeclaration<DataTableDirective, never>;

          method ngOnDestroy

          ngOnDestroy: () => void;

            method ngOnInit

            ngOnInit: () => void;

              class DataTablesModule

              class DataTablesModule {}

                property ɵfac

                static ɵfac: i0.ɵɵFactoryDeclaration<DataTablesModule, never>;

                  property ɵinj

                  static ɵinj: i0.ɵɵInjectorDeclaration<DataTablesModule>;

                    property ɵmod

                    static ɵmod: i0.ɵɵNgModuleDeclaration<
                    DataTablesModule,
                    [typeof i1.DataTableDirective],
                    [any],
                    [typeof i1.DataTableDirective]
                    >;

                      Package Files (3)

                      Dependencies (1)

                      Dev Dependencies (0)

                      No dev dependencies.

                      Peer Dependencies (8)

                      Badge

                      To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                      You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/angular-datatables.

                      • Markdown
                        [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/angular-datatables)
                      • HTML
                        <a href="https://www.jsdocs.io/package/angular-datatables"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>