Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
});
});
} else {
this.str2arr(urlStr).forEach((url, index) => {
imgs.push({
src: url,
});
});
options = {
title: false,
footToolbar: ['zoomIn', 'zoomOut', 'rotateRight', 'rotateLeft', 'actualSize'],
};
}
const viewer = new PhotoViewer(imgs, options);
}
}
preview(index: number) {
const options: PhotoViewer.Options = {
index,
};
const viewer = new PhotoViewer(this.images, options);
}
}