UNPKG

@edugouvfr/ngx-dsfr

Version:

NgxDsfr est un portage Angular des éléments d'interface du Système de Design de l'État Français (DSFR).

29 lines (28 loc) 1.26 kB
import { ComponentRef, ElementRef, OnDestroy, OnInit, ViewContainerRef } from '@angular/core'; import { DsfrCellCheckboxComponent } from '../component/cell-checkbox.component'; import * as i0 from "@angular/core"; /** * Directive pour la checkbox d'en-tête de colonne (tout sélectionner/déselectionner) */ export declare class DsfrSelectAllDirective implements OnInit, OnDestroy { private element; private viewContainer; fixedClass: boolean; componentRef: ComponentRef<DsfrCellCheckboxComponent>; private table; private subscription1$; private subscription2$; constructor(element: ElementRef, viewContainer: ViewContainerRef); get scope(): string | null; ngOnInit(): void; /** * Apres désélection/selection d'une case * Simuler le clic sur la case à cocher globale si la valeur doit changer * Interrompre l'ecoute de l'evenement pour ne pas lancer toggleshowSelectAll() */ simulateClick(checked: boolean): void; ngOnDestroy(): void; private addSubscriptionClickEvent; static ɵfac: i0.ɵɵFactoryDeclaration<DsfrSelectAllDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<DsfrSelectAllDirective, "[dsfrSelectAll]", never, {}, {}, never, never, true, never>; }