UNPKG

@nativescript-community/ui-zoomimage

Version:

Zoomable image view based on @nativescript-community/ui-image

16 lines (15 loc) 599 B
import { Img, initialize } from '@nativescript-community/ui-image'; import { Property } from '@nativescript/core'; export { initialize }; export declare abstract class ZoomImageBase extends Img { zoomScale: number; minZoom: number; maxZoom: number; abstract setZoom(scale: number, animated?: boolean, point?: { x: any; y: any; }): any; } export declare const zoomScaleProperty: Property<ZoomImageBase, number>; export declare const minZoomScaleProperty: Property<ZoomImageBase, number>; export declare const maxZoomScaleProperty: Property<ZoomImageBase, number>;