/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { FormComponentValidity } from '@progress/kendo-react-common'; import { DropDownListProps } from '../DropDownListProps.js'; /** * Represent the `ref` of the DropDownList component. */ export interface DropDownListHandle { /** * The element of the DropDownList component. */ element: HTMLSpanElement | null; /** * The index of the selected item. */ index: number; /** * Gets the `name` property of the DropDownList. */ name: string | undefined; /** * Represents the validity state into which the DropDownList is set. */ validity: FormComponentValidity; /** * The value of the DropDownList. */ value: any; /** * The focused state of the DropDownList. */ focused: boolean; /** * The opened state of the DropDownList. */ opened: boolean; /** * The props of the DropDownList component */ props: Readonly; /** * Focuses the wrapper of the DropDownList component. */ focus: () => void; /** * Toggles the popup of the DropDownList component. */ togglePopup: () => void; }