From 6d0dc421d7db344b2234e4d12e13f363823f3693 Mon Sep 17 00:00:00 2001 From: Aleksander Dyomin Date: Mon, 29 Apr 2019 09:14:23 +0300 Subject: [PATCH] fabric: event mouse props (#35038) --- .gitignore | 1 + types/fabric/fabric-impl.d.ts | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.gitignore b/.gitignore index 079ad27699..cad567f65c 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,7 @@ *.csproj *.map *.swp +*.code-workspace .DS_Store _Resharper.DefinitelyTyped diff --git a/types/fabric/fabric-impl.d.ts b/types/fabric/fabric-impl.d.ts index c74b50caa4..774688e2e0 100644 --- a/types/fabric/fabric-impl.d.ts +++ b/types/fabric/fabric-impl.d.ts @@ -143,6 +143,10 @@ interface IDataURLOptions { interface IEvent { e: Event; target?: Object; + button?: number; + isClick?: boolean; + pointer?: Point; + absolutePointer?: Point; transform?: { corner: string, original: Object, width: number }; }