1 | import { Component } from 'ag-grid-community';
|
2 | export interface PillConfig {
|
3 | onKeyDown?: (e?: KeyboardEvent) => void;
|
4 | onButtonClick?: (e?: MouseEvent) => void;
|
5 | }
|
6 | export 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 | }
|