UNPKG

right-angled

Version:

Lightweight and easy to use angular data grids. Integrates with your markup and styles rather than generating its own.

34 lines 1.67 kB
import { DoCheck, ElementRef, IterableDiffers, OnChanges, OnInit, Renderer2, SimpleChange } from '@angular/core'; import { RTList } from './providers/list'; import { RTSortingsService } from './providers/sortings.service'; import { SortDirectionStr } from '../core/sort-parameter'; import * as i0 from "@angular/core"; export declare class SortDirective implements DoCheck, OnInit, OnChanges { private listService; private sortingsService; private renderer; static settings: { sortAscClassName: string; sortDescClassName: string; sortableClassName: string; }; fieldName: string; disableSort: false; startSortDirection?: SortDirectionStr; private nativeEl; private sortingsDiffer; constructor(listService: RTList, sortingsService: RTSortingsService, renderer: Renderer2, el: ElementRef, differs: IterableDiffers); ngOnInit(): void; clickHandler(ctrlKeyPressed: boolean): void; ngDoCheck(): void; ngOnChanges(changes: { disableSort?: SimpleChange; }): void; private sortItemRemovedCallback; private sortItemAddedCallback; private removeSortClasses; private setSortClasses; static ɵfac: i0.ɵɵFactoryDeclaration<SortDirective, [{ skipSelf: true; }, { skipSelf: true; }, null, null, null]>; static ɵdir: i0.ɵɵDirectiveDeclaration<SortDirective, "[rtSort]", never, { "fieldName": { "alias": "rtSort"; "required": false; }; "disableSort": { "alias": "disableSort"; "required": false; }; "startSortDirection": { "alias": "startSortDirection"; "required": false; }; }, {}, never, never, false, never>; } //# sourceMappingURL=sort.directive.d.ts.map