mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-28 13:08:45 +02:00
N°8641 - Dashboard editor front-end first commit for Form SDK integration.
* No dashlet edition * Dashboard are not persisted * Unable to load a dashboard from an endpoint (refresh) * Grid library need proper npm integration
This commit is contained in:
33
node_modules/gridstack/dist/dd-touch.d.ts
generated
vendored
Normal file
33
node_modules/gridstack/dist/dd-touch.d.ts
generated
vendored
Normal file
@@ -0,0 +1,33 @@
|
||||
/**
|
||||
* touch.ts 12.3.2
|
||||
* Copyright (c) 2021-2025 Alain Dumesny - see GridStack root license
|
||||
*/
|
||||
/**
|
||||
* Detect touch support - Windows Surface devices and other touch devices
|
||||
* should we use this instead ? (what we had for always showing resize handles)
|
||||
* /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)
|
||||
*/
|
||||
export declare const isTouch: boolean;
|
||||
/**
|
||||
* Handle the touchstart events
|
||||
* @param {Object} e The widget element's touchstart event
|
||||
*/
|
||||
export declare function touchstart(e: TouchEvent): void;
|
||||
/**
|
||||
* Handle the touchmove events
|
||||
* @param {Object} e The document's touchmove event
|
||||
*/
|
||||
export declare function touchmove(e: TouchEvent): void;
|
||||
/**
|
||||
* Handle the touchend events
|
||||
* @param {Object} e The document's touchend event
|
||||
*/
|
||||
export declare function touchend(e: TouchEvent): void;
|
||||
/**
|
||||
* Note we don't get touchenter/touchleave (which are deprecated)
|
||||
* see https://stackoverflow.com/questions/27908339/js-touch-equivalent-for-mouseenter
|
||||
* so instead of PointerEvent to still get enter/leave and send the matching mouse event.
|
||||
*/
|
||||
export declare function pointerdown(e: PointerEvent): void;
|
||||
export declare function pointerenter(e: PointerEvent): void;
|
||||
export declare function pointerleave(e: PointerEvent): void;
|
||||
Reference in New Issue
Block a user