gridpackage.src.vaadin-grid-selection-mixin.d.ts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vaadin-webcomponents Show documentation
Show all versions of vaadin-webcomponents Show documentation
Mvnpm composite: Vaadin webcomponents
The newest version!
/**
* @license
* Copyright (c) 2016 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import type { Constructor } from '@open-wc/dedupe-mixin';
export declare function SelectionMixin>(
base: T,
): Constructor> & T;
export declare class SelectionMixinClass {
/**
* An array that contains the selected items.
*/
selectedItems: TItem[];
/**
* Selects the given item.
*
* @param item The item object
*/
selectItem(item: TItem): void;
/**
* Deselects the given item if it is already selected.
*
* @param item The item object
*/
deselectItem(item: TItem): void;
}