@antv/g-lite
Advanced tools
Comparing version 2.0.7 to 2.0.8
@@ -71,2 +71,6 @@ /// <reference types="webxr" /> | ||
/** | ||
* double click speed (ms), default is 200ms | ||
*/ | ||
dblClickSpeed?: CanvasConfig['dblClickSpeed']; | ||
/** | ||
* @see https://developer.mozilla.org/en-US/docs/Web/API/Element | ||
@@ -73,0 +77,0 @@ */ |
@@ -417,2 +417,3 @@ import type RBush from 'rbush'; | ||
isMouseEvent: (event: InteractivePointerEvent) => event is MouseEvent; | ||
dblClickSpeed?: number; | ||
render: () => void; | ||
@@ -419,0 +420,0 @@ destroy: (destroyScenegraph?: boolean) => void; |
@@ -0,1 +1,8 @@ | ||
import { mat4 } from 'gl-matrix'; | ||
type RectangleLike = { | ||
x: number; | ||
y: number; | ||
width: number; | ||
height: number; | ||
}; | ||
export declare class Rectangle implements DOMRect { | ||
@@ -6,2 +13,10 @@ x: number; | ||
height: number; | ||
/** | ||
* @see https://developer.mozilla.org/en-US/docs/Web/API/DOMRect/fromRect_static | ||
*/ | ||
static fromRect(rect: RectangleLike): Rectangle; | ||
/** | ||
* will return a new rect instance | ||
*/ | ||
static applyTransform(rect: Rectangle, matrix: mat4): Rectangle; | ||
left: number; | ||
@@ -14,1 +29,2 @@ right: number; | ||
} | ||
export {}; |
@@ -277,2 +277,3 @@ import type { IRenderer } from './AbstractRenderer'; | ||
isMouseEvent?: (event: InteractivePointerEvent) => event is MouseEvent; | ||
dblClickSpeed?: number; | ||
/** | ||
@@ -279,0 +280,0 @@ * Listen to native click event instead of mocking with pointerup & down events. |
{ | ||
"name": "@antv/g-lite", | ||
"version": "2.0.7", | ||
"version": "2.0.8", | ||
"description": "A core module for rendering engine implements DOM API.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3396331
37265