UNPKG

igniteui-angular

Version:

Ignite UI for Angular is a dependency-free Angular toolkit for building modern web apps

59 lines (58 loc) 2.5 kB
import { ElementRef, OnDestroy } from '@angular/core'; import { Subscription } from 'rxjs'; import { IgxIconService } from '../../icon/icon.service'; import { IgxGridToolbarActionsComponent } from './common'; import { GridServiceType, GridType } from '../common/grid.interface'; import * as i0 from "@angular/core"; /** * Provides a context-aware container component for UI operations for the grid components. * * @igxModule IgxGridToolbarModule * @igxParent IgxGridComponent, IgxTreeGridComponent, IgxHierarchicalGridComponent, IgxPivotGridComponent * */ export declare class IgxGridToolbarComponent implements OnDestroy { private api; private iconService; private element; /** * When enabled, shows the indeterminate progress bar. * * @remarks * By default this will be toggled, when the default exporter component is present * and an exporting is in progress. */ showProgress: boolean; /** * Gets/sets the grid component for the toolbar component. * * @deprecated since version 17.1.0. No longer required to be set for the Hierarchical Grid child grid template * * @remarks * Usually you should not set this property in the context of the default grid/tree grid. * The only grids that demands this to be set are the hierarchical child grids. For additional * information check the toolbar topic. */ get grid(): GridType; set grid(value: GridType); /** Returns the native DOM element of the toolbar component */ get nativeElement(): HTMLElement; /** * @hidden * @internal */ hasActions: IgxGridToolbarActionsComponent; /** * @hidden * @internal */ defaultStyle: boolean; protected _grid: GridType; protected sub: Subscription; constructor(api: GridServiceType, iconService: IgxIconService, element: ElementRef<HTMLElement>); /** @hidden @internal */ ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<IgxGridToolbarComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<IgxGridToolbarComponent, "igx-grid-toolbar", never, { "showProgress": { "alias": "showProgress"; "required": false; }; "grid": { "alias": "grid"; "required": false; }; }, {}, ["hasActions"], ["[igxGridToolbarTitle],igx-grid-toolbar-title,igc-grid-toolbar-title", "*", "[igxGridToolbarActions],igx-grid-toolbar-actions,igc-grid-toolbar-actions"], true, never>; static ngAcceptInputType_showProgress: unknown; }