Any examples?
What I've tried:
import Vue from 'nativescript-vue';
import { ImageZoom } from 'nativescript-image-zoom';
Vue.component('ImageZoom', ImageZoom);
<template>
<Page class="page" backgroundSpanUnderStatusBar="true" @loaded="loadPhoto" backgroundColor="#222222">
<GridLayout rows="*">
<StackLayout row="0" verticalAlign="center">
<ImageZoom src="res://testimg" maxZoom="3" minZoom="1" width="400" height="400" backgroundColor="#77d94b" />
</StackLayout>
</GridLayout>
</Page>
</template>
It does not crash, but it renders nothing.
Works fine if I change <ImageZoom ... /> to just <Image ... /> with the same attrs.
P.S.: it doesn't crash on iOS, but on Android the app crashes on startup.
Any examples?
What I've tried:
It does not crash, but it renders nothing.
Works fine if I change
<ImageZoom ... />to just<Image ... />with the same attrs.P.S.: it doesn't crash on iOS, but on Android the app crashes on startup.