Skip to content

v2.3.0

Compare
Choose a tag to compare
@l-lin l-lin released this 02 Apr 15:39
· 472 commits to master since this release

This release contains the following:

  • Implements the angular-way #955
  • Use @types #954
    • You will need to install the following dev dependencies:
npm install @types/jquery --save-dev
npm install @types/datatables.net --save-dev
  • For dtOptions, you can use the DataTable's settings typings:
import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'with-options',
  templateUrl: 'with-options.component.html'
})
export class WithOptionsComponent implements OnInit {
  dtOptions: DataTables.Settings = {};

  ngOnInit(): void {
    this.dtOptions = {
      pagingType: 'full_numbers'
    };
  }
}