@progress/kendo-react-common
Version:
React Common package delivers common utilities that can be used with the KendoReact UI components. KendoReact Common Utilities package
22 lines (21 loc) • 844 B
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2023 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;
}