Skip to content
This repository was archived by the owner on Feb 2, 2025. It is now read-only.

Commit 98f5f7e

Browse files
committed
docs: app supports v1 and v2 docs
1 parent a415f52 commit 98f5f7e

File tree

66 files changed

+1009
-100
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

66 files changed

+1009
-100
lines changed

demo/src/app/advanced/custom-range-search.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
<br />
1414
<table datatable [dtOptions]="dtOptions" class="row-border hover"></table>
1515
</ng-template>
16-
<app-base-demo [pageTitle]="pageTitle" [mdIntro]="mdIntro" [mdHTML]="mdHTML" [mdTS]="mdTS" [template]="preview">
16+
<app-base-demo [pageTitle]="pageTitle" [mdIntro]="mdIntro" [mdHTML]="mdHTML" [mdHTMLV2]="mdHTML" [mdTSV2]="mdTSV2" [mdTS]="mdTS" [template]="preview">
1717
</app-base-demo>

demo/src/app/advanced/custom-range-search.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export class CustomRangeSearchComponent implements OnDestroy, OnInit {
1414
mdIntro = 'assets/docs/advanced/custom-range/intro.md';
1515
mdHTML = 'assets/docs/advanced/custom-range/source-html.md';
1616
mdTS = 'assets/docs/advanced/custom-range/source-ts.md';
17+
mdTSV2 = 'assets/docs/advanced/custom-range/source-ts-dtv2.md';
1718

1819
@ViewChild(DataTableDirective, {static: false})
1920
datatableElement: DataTableDirective;

demo/src/app/advanced/dt-instance.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
</blockquote>
1010
<table datatable [dtOptions]="dtOptions" class="row-border hover"></table>
1111
</ng-template>
12-
<app-base-demo [pageTitle]="pageTitle" [mdIntro]="mdIntro" [mdHTML]="mdHTML" [mdTS]="mdTS" [template]="preview">
12+
<app-base-demo [pageTitle]="pageTitle" [mdIntro]="mdIntro" [mdHTML]="mdHTML" [mdHTMLV2]="mdHTML" [mdTS]="mdTS" [mdTSV2]="mdTSV2" [template]="preview">
1313
</app-base-demo>

demo/src/app/advanced/dt-instance.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export class DtInstanceComponent implements OnInit {
1313
mdIntro = 'assets/docs/advanced/dt-instance/intro.md';
1414
mdHTML = 'assets/docs/advanced/dt-instance/source-html.md';
1515
mdTS = 'assets/docs/advanced/dt-instance/source-ts.md';
16+
mdTSV2 = 'assets/docs/advanced/dt-instance/source-ts-dtv2.md';
1617

1718
@ViewChild(DataTableDirective, {static: false})
1819
datatableElement: DataTableDirective;

demo/src/app/advanced/individual-column-filtering.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
</tfoot>
1010
</table>
1111
</ng-template>
12-
<app-base-demo [pageTitle]="pageTitle" [mdIntro]="mdIntro" [mdHTML]="mdHTML" [mdTS]="mdTS" [template]="preview">
12+
<app-base-demo [pageTitle]="pageTitle" [mdIntro]="mdIntro" [mdHTML]="mdHTML" [mdHTMLV2]="mdHTML" [mdTS]="mdTS" [mdTSV2]="mdTSV2" [template]="preview">
1313
</app-base-demo>

demo/src/app/advanced/individual-column-filtering.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ export class IndividualColumnFilteringComponent implements OnInit, AfterViewInit
1313
mdIntro = 'assets/docs/advanced/indi-col-filter/intro.md';
1414
mdHTML = 'assets/docs/advanced/indi-col-filter/source-html.md';
1515
mdTS = 'assets/docs/advanced/indi-col-filter/source-ts.md';
16+
mdTSV2 = 'assets/docs/advanced/indi-col-filter/source-ts-dtv2.md';
1617

1718
@ViewChild(DataTableDirective, {static: false})
1819
datatableElement: DataTableDirective;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<ng-template #preview>
22
<table datatable [dtOptions]="$any(dtOptions)" class="row-border hover"></table>
33
</ng-template>
4-
<app-base-demo [pageTitle]="pageTitle" [mdIntro]="mdIntro" [mdHTML]="mdHTML" [mdTS]="mdTS" [template]="preview">
4+
<app-base-demo [pageTitle]="pageTitle" [mdIntro]="mdIntro" [mdHTML]="mdHTML" [mdTS]="mdTS" [mdTSV2]="mdTSV2" [template]="preview">
55
</app-base-demo>

demo/src/app/advanced/load-dt-options-with-promise.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export class LoadDtOptionsWithPromiseComponent implements OnInit {
1212
mdIntro = 'assets/docs/advanced/load-dt-opt-with-promise/intro.md';
1313
mdHTML = 'assets/docs/advanced/load-dt-opt-with-promise/source-html.md';
1414
mdTS = 'assets/docs/advanced/load-dt-opt-with-promise/source-ts.md';
15+
mdTSV2 = 'assets/docs/advanced/load-dt-opt-with-promise/source-ts-dtv2.md';
1516

1617
dtOptions: Promise<Config>;
1718

demo/src/app/advanced/multiple-tables.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ <h5 class="header">Table 2</h5>
1111
<table id="second-table" datatable [dtOptions]="dtOptions[1]" class="row-border hover"></table>
1212

1313
</ng-template>
14-
<app-base-demo [pageTitle]="pageTitle" [mdIntro]="mdIntro" [mdHTML]="mdHTML" [mdTS]="mdTS" [template]="preview">
14+
<app-base-demo [pageTitle]="pageTitle" [mdIntro]="mdIntro" [mdHTML]="mdHTML" [mdHTMLV2]="mdHTML" [mdTS]="mdTS" [mdTSV2]="mdTSV2" [template]="preview">
1515
</app-base-demo>

demo/src/app/advanced/multiple-tables.component.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ export class MultipleTablesComponent implements OnInit {
1212
mdIntro = 'assets/docs/advanced/multiple-tables/intro.md';
1313
mdHTML = 'assets/docs/advanced/multiple-tables/source-html.md';
1414
mdTS = 'assets/docs/advanced/multiple-tables/source-ts.md';
15+
mdTSV2 = 'assets/docs/advanced/multiple-tables/source-ts-dtv2.md';
1516

1617
@ViewChildren(DataTableDirective)
1718
dtElements: QueryList<DataTableDirective>;

0 commit comments

Comments
 (0)