@progress/kendo-react-common
Version:
React Common package delivers common utilities that can be used with the KendoReact UI components. KendoReact Common Utilities package
31 lines (30 loc) • 1.27 kB
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 KendoPointer<T, E extends HTMLElement> {
onPointerDown?: (args: KendoPointerEvent<T, E>) => void;
onPointerMove?: (args: KendoPointerEvent<T, E>) => void;
onPointerUp?: (args: KendoPointerEvent<T, E>) => void;
onPointerCancel?: (args: KendoPointerEvent<T, E>) => void;
onGotPointerCapture?: (args: KendoPointerEvent<T, E>) => void;
onLostPointerCapture?: (args: KendoPointerEvent<T, E>) => void;
onPointerEnter?: (args: KendoPointerEvent<T, E>) => void;
onPointerOver?: (args: KendoPointerEvent<T, E>) => void;
onPointerLeave?: (args: KendoPointerEvent<T, E>) => void;
onPointerOut?: (args: KendoPointerEvent<T, E>) => void;
}
/**
* @hidden
*/
export interface KendoPointerEvent<T, E extends HTMLElement = HTMLElement> {
syntheticEvent: React.PointerEvent<E>;
target: T;
}