UNPKG

@progress/kendo-angular-chart-wizard

Version:

Kendo UI Angular Chart Wizard component

54 lines (53 loc) 2.24 kB
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { EventEmitter, OnInit } from "@angular/core"; import { GridComponent, RowArgs } from "@progress/kendo-angular-grid"; import { ChartWizardDataRow } from "../chart-wizard-state"; import * as i0 from "@angular/core"; /** * Binds the Chart Wizard to the selection state of the Grid ([see example](slug:grid_integration_with_chart)). * * @example * ```html * <kendo-grid * [kendoGridBinding]="data" * [kendoGridSelectBy]="'id'" * kendoChartWizardGridBinding * [(chartWizardData)]="wizardData"> * </kendo-grid> * ``` * @remarks * Applied to: {@link GridComponent} */ export declare class ChartWizardGridBindingDirective implements OnInit { protected grid: GridComponent; /** * Stores the Chart Wizard data. * * @default [] */ chartWizardData: ChartWizardDataRow[]; /** * Emits when the `chartWizardData` collection updates. */ chartWizardDataChange: EventEmitter<ChartWizardDataRow[]>; /** * @hidden */ data: any; /** * @hidden */ selectionKey: string | ((context: RowArgs) => any); /** * @hidden */ columnKey: string | ((column: any, columnIndex: number) => any); constructor(grid: GridComponent); ngOnInit(): void; onSelectionChange(selectedKeys: any[]): void; static ɵfac: i0.ɵɵFactoryDeclaration<ChartWizardGridBindingDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<ChartWizardGridBindingDirective, "[kendoChartWizardGridBinding]", ["kendoChartWizardGridBinding"], { "chartWizardData": { "alias": "chartWizardData"; "required": false; }; "data": { "alias": "kendoGridBinding"; "required": false; }; "selectionKey": { "alias": "kendoGridSelectBy"; "required": false; }; "columnKey": { "alias": "columnKey"; "required": false; }; }, { "chartWizardDataChange": "chartWizardDataChange"; }, never, never, true, never>; }