This repository was archived by the owner on Feb 2, 2025. It is now read-only.
v2.3.0
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'
};
}
}