ng-checkall
Version:
A simple directive to "Check All" checkboxes behavior
19 lines (18 loc) • 688 B
TypeScript
import { CheckAllDirective } from './check-all.directive';
import { CheckOneDirective } from './check-one.directive';
import { QueryList, AfterViewInit, OnDestroy } from '@angular/core';
export declare class CheckContainerDirective implements AfterViewInit, OnDestroy {
checkAllDirectives: QueryList<CheckAllDirective>;
checkOneDirectives: QueryList<CheckOneDirective>;
private subscribes;
private lock;
constructor();
private process<T>(list, fn);
ngAfterViewInit(): void;
ngOnDestroy(): void;
private getCheckboxesToCheck();
private getLock();
onCheckOne(event: boolean): void;
onCheckAll(event: boolean): void;
updateView(): void;
}