- Preparing search index...
- The search index is not available
@fold-dev/core
- useDrag(args?): {
clearGhostElement: (() => void);
endDrag: (() => void);
getCache: (() => any);
getGhostElement: (() => any);
getNextIndent: ((__namedParameters) => any);
getNextOutdent: ((__namedParameters) => any);
getStaticState: (() => any);
hasCustomGhostElement: (() => boolean);
indent: (() => void);
onMouseDown: ((e) => void);
onMouseUp: ((e) => void);
outdent: (() => void);
setCustomGhostElement: ((html?) => void);
setCustomGhostElementRotation: ((rotation?) => void);
setGhostElement: ((html?) => void);
startDrag: (() => void);
}
-
Returns {
clearGhostElement: (() => void);
endDrag: (() => void);
getCache: (() => any);
getGhostElement: (() => any);
getNextIndent: ((__namedParameters) => any);
getNextOutdent: ((__namedParameters) => any);
getStaticState: (() => any);
hasCustomGhostElement: (() => boolean);
indent: (() => void);
onMouseDown: ((e) => void);
onMouseUp: ((e) => void);
outdent: (() => void);
setCustomGhostElement: ((html?) => void);
setCustomGhostElementRotation: ((rotation?) => void);
setGhostElement: ((html?) => void);
startDrag: (() => void);
}
-
clearGhostElement: (() => void)
-
endDrag: (() => void)
-
getCache: (() => any)
-
getGhostElement: (() => any)
-
getNextIndent: ((__namedParameters) => any)
-
- (__namedParameters): any
-
Parameters
-
__namedParameters: Object
Returns any
-
getNextOutdent: ((__namedParameters) => any)
-
- (__namedParameters): any
-
Parameters
-
__namedParameters: Object
Returns any
-
getStaticState: (() => any)
-
hasCustomGhostElement: (() => boolean)
-
- (): boolean
-
Returns boolean
-
indent: (() => void)
-
onMouseDown: ((e) => void)
-
onMouseUp: ((e) => void)
-
outdent: (() => void)
-
setCustomGhostElement: ((html?) => void)
-
- (html?): void
-
Returns void
-
setCustomGhostElementRotation: ((rotation?) => void)
-
- (rotation?): void
-
Parameters
-
rotation: string = '2deg'
Returns void
-
setGhostElement: ((html?) => void)
-
- (html?): void
-
Returns void
-
startDrag: (() => void)