UNPKG

792 BTypeScriptView Raw
1import type { BeanCollection } from 'ag-grid-community';
2import { Component } from 'ag-grid-community';
3export interface PillRendererParams<TValue> {
4 eWrapper?: HTMLElement;
5 announceItemFocus?: () => void;
6 onPillMouseDown?: (e: MouseEvent) => void;
7 getValue: () => TValue[] | null;
8 setValue: (value: TValue[] | null) => void;
9}
10export declare class AgPillContainer<TValue> extends Component {
11 private focusService;
12 private params;
13 private pills;
14 wireBeans(beans: BeanCollection): void;
15 constructor();
16 init(params: PillRendererParams<TValue>): void;
17 refresh(): void;
18 onNavigationKeyDown(e: KeyboardEvent): void;
19 private clearPills;
20 private onPillButtonClick;
21 private onPillKeyDown;
22 private deletePill;
23 destroy(): void;
24}