Skip to content

Commit

Permalink
cleanup code
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardoperra committed May 4, 2024
1 parent cbb8fa4 commit 4c765c3
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 119 deletions.
Empty file.
1 change: 0 additions & 1 deletion examples/angular/basic/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ const defaultColumns: ColumnDef<Person>[] = [
standalone: true,
imports: [RouterOutlet, FlexRenderDirective],
templateUrl: './app.component.html',
styleUrl: './app.component.scss',
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class AppComponent {
Expand Down
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ const defaultColumns: ColumnDef<Person>[] = [
standalone: true,
imports: [FlexRenderDirective],
templateUrl: './app.component.html',
styleUrl: './app.component.scss',
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class AppComponent implements OnInit {
Expand Down
32 changes: 0 additions & 32 deletions examples/angular/filters/src/app/app.component.scss

This file was deleted.

10 changes: 1 addition & 9 deletions examples/angular/filters/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
getPaginationRowModel,
getSortedRowModel,
} from '@tanstack/angular-table'
import { FilterComponent } from './filter'
import { FilterComponent } from './table-filter.component'
import { makeData, type Person } from './makeData'
import { FormsModule } from '@angular/forms'
import { NgClass } from '@angular/common'
Expand All @@ -27,7 +27,6 @@ import { NgClass } from '@angular/common'
standalone: true,
imports: [FilterComponent, FlexRenderDirective, FormsModule, NgClass],
templateUrl: './app.component.html',
styleUrl: './app.component.scss',
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class AppComponent {
Expand Down Expand Up @@ -112,13 +111,6 @@ export class AppComponent {
this.table.setPageSize(Number(event.target.value))
}

logSelectedFlatRows(): void {
console.info(
'table.getSelectedRowModel().flatRows',
this.table.getSelectedRowModel().flatRows
)
}

refreshData(): void {
this.data.set(makeData(100_000)) // stress test
}
Expand Down
43 changes: 0 additions & 43 deletions examples/angular/filters/src/app/selection-column.component.ts

This file was deleted.

File renamed without changes.
32 changes: 0 additions & 32 deletions examples/angular/row-selection/src/app/app.component.scss

This file was deleted.

1 change: 0 additions & 1 deletion examples/angular/row-selection/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import {
standalone: true,
imports: [FilterComponent, FlexRenderDirective, FormsModule],
templateUrl: './app.component.html',
styleUrl: './app.component.scss',
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class AppComponent {
Expand Down

0 comments on commit 4c765c3

Please sign in to comment.