@edugouvfr/ngx-dsfr-ext
Version:
NgxDsfrExt est une extension au package @edugouvfr/ngx-dsfr (portage Angular des éléments DSFR)
25 lines (24 loc) • 960 B
TypeScript
import { DsfrPosition, DsfrSize } from '@edugouvfr/ngx-dsfr';
import { ICellRendererAngularComp } from 'ag-grid-angular';
import * as i0 from "@angular/core";
export declare class DsfrButtonCellGridComponent implements ICellRendererAngularComp {
id: string;
params: any;
label: string;
size: DsfrSize;
icon: string;
iconPosition: DsfrPosition;
ariaLabel: string;
customClass: string;
tooltipMessage: string;
ariaControls: string;
agInit(params: any): void;
refresh(params?: any): boolean;
/**
* Permet d'appeler la méthode définie sur le bouton en passant les données de la ligne
* @param $event Event lié au clic sur le bouton
*/
onClick($event: any): void;
static ɵfac: i0.ɵɵFactoryDeclaration<DsfrButtonCellGridComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<DsfrButtonCellGridComponent, "dsfr-button-cell-grid", never, {}, {}, never, never, true, never>;
}