1.0.0 • Published 7 months ago
1r-image-previewer v1.0.0
WELCOME
For Installation npm i image-previewer
Import it on your module ex. import {imagePreviewer} from './imagePreviewer'
For Using this you must have container for you image/img tag and also id in that container that you are going to pass in the function parameter ex.
now when you want to show a previewer of your image is up to you
Syntax to Write/Pass parameter ex. function onImageClick(elemId){ imagePreviewer(elemId,{ elements: label:{ labelName:'', background:'', textColor:'' }, position:{ top:'' left:'' right:'' bottom:'' }, arrow:{ direction:'' length:'' } }) }
1.0.0
7 months ago