UNPKG
merchi_product_editor
Version:
latest (0.1.9)
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
A React component for editing product images using Fabric.js
merchi_product_editor
/
dist
/
utils
/
ImageHandler.d.ts
3 lines
(2 loc)
•
239 B
TypeScript
View Raw
1
2
3
import
{ fabric }
from
'fabric'
;
export
declare
const
setupKeyboardEvents
:
(
canvas
: fabric.
Canvas
,
onObjectRemoved
?: ((dataUrl:
string
) =>
void
) |
undefined
,
customDeleteHandler
?: ((obj: fabric.
Object
) =>
void
) |
undefined
) =>
() =>
void
;