1.0.0 • Published 7 months ago

1r-image-previewer v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
7 months ago

WELCOME

  1. For Installation npm i image-previewer

  2. Import it on your module ex. import {imagePreviewer} from './imagePreviewer'

  3. 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.

  4. now when you want to show a previewer of your image is up to you

  5. 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