@progress/kendo-react-common
Version:
React Common package delivers common utilities that can be used with the KendoReact UI components. KendoReact Common Utilities package
25 lines (24 loc) • 866 B
TypeScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
import * as React from 'react';
/**
* @hidden
*/
export interface KendoTouch<T, E extends HTMLElement> {
onTouchStart?: (args: KendoTouchEvent<T, E>) => void;
onTouchMove?: (args: KendoTouchEvent<T, E>) => void;
onTouchEnd?: (args: KendoTouchEvent<T, E>) => void;
onTouchCancel?: (args: KendoTouchEvent<T, E>) => void;
}
/**
* @hidden
*/
export interface KendoTouchEvent<T, E extends HTMLElement = HTMLElement> {
syntheticEvent: React.TouchEvent<E>;
target: T;
}