icon.d.ts 738 B

123456789101112131415
  1. import { GridOptionsWrapper } from '../gridOptionsWrapper';
  2. import { Column } from '../entities/column';
  3. export declare const iconNameClassMap: {
  4. [key: string]: string;
  5. };
  6. /**
  7. * If icon provided, use this (either a string, or a function callback).
  8. * if not, then use the default icon from the theme
  9. * @param {string} iconName
  10. * @param {GridOptionsWrapper} gridOptionsWrapper
  11. * @param {Column | null} [column]
  12. * @returns {HTMLElement}
  13. */
  14. export declare function createIcon(iconName: string, gridOptionsWrapper: GridOptionsWrapper, column: Column | null): HTMLElement;
  15. export declare function createIconNoSpan(iconName: string, gridOptionsWrapper: GridOptionsWrapper, column?: Column | null, forceCreate?: boolean): HTMLElement;