react-moveable
Advanced tools
Comparing version 0.53.0 to 0.53.1
@@ -66,2 +66,3 @@ import * as React from "react"; | ||
getMoveables(): MoveableManagerInterface[]; | ||
getDragElement(): HTMLElement | SVGElement | null | undefined; | ||
private _updateRefs; | ||
@@ -68,0 +69,0 @@ private _checkChangeTargets; |
@@ -17,6 +17,7 @@ /// <reference types="react" /> | ||
request(ableName: string, param?: Record<string, any>, isInstant?: boolean): Requester; | ||
dragStart(): this; | ||
dragStart(e: MouseEvent | TouchEvent): this; | ||
hitTest(): number; | ||
isInside(): boolean; | ||
isDragging(): boolean; | ||
getDragElement(): null; | ||
getMoveables(): MoveableManagerInterface[]; | ||
@@ -23,0 +24,0 @@ updateRenderPoses(): void; |
@@ -50,4 +50,13 @@ import * as React from "react"; | ||
getContainer(): HTMLElement | SVGElement; | ||
/** | ||
* Returns the element of the control box. | ||
* @method Moveable#getControlBoxElement | ||
*/ | ||
getControlBoxElement(): HTMLElement; | ||
/** | ||
* Target element to be dragged in moveable | ||
* @method Moveable#getDragElement | ||
*/ | ||
getDragElement(): HTMLElement | SVGElement | null | undefined; | ||
/** | ||
* Check if the target is an element included in the moveable. | ||
@@ -54,0 +63,0 @@ * @method Moveable#isMoveableElement |
{ | ||
"name": "react-moveable", | ||
"version": "0.53.0", | ||
"version": "0.53.1", | ||
"description": "A React Component that create Moveable, Draggable, Resizable, Scalable, Rotatable, Warpable, Pinchable, Groupable.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/moveable.cjs.js", |
@@ -299,2 +299,3 @@ import getAgent from "@egjs/agent"; | ||
"getMoveables", | ||
"getDragElement", | ||
]; |
Sorry, the diff of this file is too big to display
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 not supported yet
Sorry, the diff of this file is not supported yet
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
14421209
76062