UNPKG

@progress/kendo-angular-listbox

Version:
33 lines (32 loc) 1.13 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 } from "@angular/core"; import * as i0 from "@angular/core"; /** * Defines the event that fires when you make a new selection in the ListBox component. * */ export interface ListBoxSelectionEvent { /** * The index of the currently selected item. */ index: number; /** * The index of the previously selected item. */ prevIndex: number; } /** * @hidden */ export declare class ListBoxSelectionService { onSelect: EventEmitter<any>; selectedIndex: number; select(index: number): void; isSelected(index: number): boolean; clearSelection(): void; static ɵfac: i0.ɵɵFactoryDeclaration<ListBoxSelectionService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<ListBoxSelectionService>; }