@obliczeniowo/elementary
Version:
Library made in Angular version 19
18 lines (17 loc) • 839 B
TypeScript
import { EventEmitter, SimpleChanges } from '@angular/core';
import { SortOption } from '../../interfaces/sort-option';
import * as i0 from "@angular/core";
export declare class TableSortComponent {
sortName: string;
sortOrder?: 'ASC' | 'DESC';
position: number;
sort: SortOption[];
changed: EventEmitter<SortOption[]>;
order(): "↑" | "↓" | " ";
ngOnChanges(changes: SimpleChanges): void;
set(): void;
change(): void;
switchPos(event: MouseEvent): void;
static ɵfac: i0.ɵɵFactoryDeclaration<TableSortComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TableSortComponent, "thead td[obl-table-sort]", never, { "sortName": { "alias": "sortName"; "required": true; }; "sort": { "alias": "sort"; "required": false; }; }, { "changed": "changed"; }, never, ["*"], false, never>;
}