right-angled
Version:
Lightweight and easy to use angular data grids. Integrates with your markup and styles rather than generating its own.
30 lines • 2.06 kB
TypeScript
import { AfterViewInit, ElementRef, EventEmitter, OnDestroy } from '@angular/core';
import { RTSelectionEventsHelper } from './providers/selection-events-helper';
import { RTSelectionService } from './providers/selection.service';
import { RTSelectionEvent, SelectionElementEventsEmitter } from './providers/selection-events-emitter';
import { SelectionAreaDirective } from './selection-area.directive';
import * as i0 from "@angular/core";
export declare class SelectionCheckboxForDirective implements SelectionElementEventsEmitter, AfterViewInit, OnDestroy {
private elementRef;
private selectionArea;
selectionEventsHelper: RTSelectionEventsHelper;
private selectionService;
index: number;
item: any;
get selected(): boolean;
set selected(selected: boolean);
readonly selectedChange: EventEmitter<boolean>;
readonly itemSelected: EventEmitter<RTSelectionEvent>;
readonly itemDeselected: EventEmitter<RTSelectionEvent>;
readonly selectionChanged: EventEmitter<RTSelectionEvent>;
private selectedInternal;
constructor(elementRef: ElementRef, selectionArea: SelectionAreaDirective, selectionEventsHelper: RTSelectionEventsHelper, selectionService: RTSelectionService);
ngAfterViewInit(): void;
ngOnDestroy(): void;
get isChecked(): boolean;
changeHandler(isChecked: boolean): void;
postProcessSelection(selected: boolean): void;
static ɵfac: i0.ɵɵFactoryDeclaration<SelectionCheckboxForDirective, [null, { optional: true; }, { skipSelf: true; }, { skipSelf: true; }]>;
static ɵdir: i0.ɵɵDirectiveDeclaration<SelectionCheckboxForDirective, "input[rtSelectionCheckboxFor]", ["rtSelectionCheckboxFor"], { "item": { "alias": "rtSelectionCheckboxFor"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, { "selectedChange": "selectedChange"; "itemSelected": "itemSelected"; "itemDeselected": "itemDeselected"; "selectionChanged": "selectionChanged"; }, never, never, false, never>;
}
//# sourceMappingURL=selection-checkbox-for.directive.d.ts.map