UNPKG

504 BTypeScriptView Raw
1import { Component } from 'ag-grid-community';
2export interface PillConfig {
3 onKeyDown?: (e?: KeyboardEvent) => void;
4 onButtonClick?: (e?: MouseEvent) => void;
5}
6export declare class AgPill extends Component {
7 private readonly config;
8 private readonly eText;
9 private readonly eButton;
10 constructor(config: PillConfig);
11 postConstruct(): void;
12 toggleCloseButtonClass(className: string, force?: boolean): void;
13 setText(text: string): void;
14 getText(): string | null;
15}