1 | /**
|
2 | * @license
|
3 | *
|
4 | * Use of this source code is governed by an MIT-style license that can be
|
5 | * found in the LICENSE file at https://raw.githubusercontent.com/l-lin/angular-datatables/master/LICENSE
|
6 | */
|
7 | /// <reference types="datatables.net" />
|
8 | import { ElementRef, OnDestroy, OnInit, Renderer2, ViewContainerRef } from '@angular/core';
|
9 | import { Subject } from 'rxjs';
|
10 | import { ADTSettings } from './models/settings';
|
11 | export declare class DataTableDirective implements OnDestroy, OnInit {
|
12 | private el;
|
13 | private vcr;
|
14 | private renderer;
|
15 | /**
|
16 | * The DataTable option you pass to configure your table.
|
17 | */
|
18 | dtOptions: ADTSettings;
|
19 | /**
|
20 | * This trigger is used if one wants to trigger manually the DT rendering
|
21 | * Useful when rendering angular rendered DOM
|
22 | */
|
23 | dtTrigger: Subject<any>;
|
24 | /**
|
25 | * The DataTable instance built by the jQuery library [DataTables](datatables.net).
|
26 | *
|
27 | * It's possible to execute the [DataTables APIs](https://datatables.net/reference/api/) with
|
28 | * this variable.
|
29 | */
|
30 | dtInstance: Promise<DataTables.Api>;
|
31 | private dt;
|
32 | constructor(el: ElementRef, vcr: ViewContainerRef, renderer: Renderer2);
|
33 | ngOnInit(): void;
|
34 | ngOnDestroy(): void;
|
35 | private displayTable;
|
36 | }
|