0.0.2 • Published 4 months ago

viewerjs-fun v0.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
4 months ago

viewerjs-fun

NPM version NPM downloads

Functional invocation for viewerjs

Usage

/**
 * @param image A picture or a set of pictures.
 * @param options The options of the viewer.
 */
export function preview(image: string | string[], options?: Viewer.Options): void
/**
 * @param image A set of pictures.
 * @param indexOrSrc The index of the picture or the src to be displayed.
 * @param options The options of the viewer.
 */
export function preview(image: string[], indexOrSrc: number | string, options?: Viewer.Options): void
0.0.2

4 months ago

0.0.1

4 months ago