3.0.3 • Published 6 years ago

nativescript-image-zoom v3.0.3

Weekly downloads
22
License
Apache-2.0
Repository
-
Last release
6 years ago

NativeScript Image Zoom

npm npm Build Status

Installation

tns plugin add nativescript-image-zoom

Configuration

IMPORTANT: Make sure you include xmlns:ui="nativescript-image-zoom" on the Page element

<ui:ImageZoom src="~/images/148080.jpg" maxZoom="5" minZoom="2"/>

Angular

import { registerElement } from 'nativescript-angular/element-registry';
registerElement('ImageZoom', () => require('nativescript-image-zoom').ImageZoom);
<ImageZoom src="~/images/148080.jpg" maxZoom="5" minZoom="2"></ImageZoom>

API

Properties

PropertyDefaultTypeRequiredDescription
maxZoom5number-
minZoom1number-
zoomScale1number- IOS only
srcstring- x

ScreenShots

IOSAndroid
IOSAndroid
3.0.3

6 years ago

3.0.2

6 years ago

3.0.1

6 years ago

3.0.0

6 years ago

2.0.0

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago