We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa234b1 commit 05b4b85Copy full SHA for 05b4b85
src/zoomimage/index-common.ts
@@ -3,10 +3,11 @@ import { Property } from '@nativescript/core';
3
4
export { initialize };
5
6
-export class ZoomImageBase extends Img {
+export abstract class ZoomImageBase extends Img {
7
zoomScale: number;
8
minZoom: number;
9
maxZoom: number;
10
+ abstract setZoom(scale: number, animated?: boolean, point?: { x; y });
11
}
12
13
export const zoomScaleProperty = new Property<ZoomImageBase, number>({
src/zoomimage/index.d.ts
@@ -1,3 +1,4 @@
1
-import { Img } from '@nativescript-community/ui-image';
+import { ZoomImageBase } from './index-common';
2
-export class ZoomImg extends Img {}
+export class ZoomImg extends ZoomImageBase {
+}
0 commit comments