yyx990803 / zoomerang

drop in zoom anything

Home Page:http://yyx990803.github.io/zoomerang/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to use these options

michyd opened this issue · comments

onOpen -
onClose -
onBeforeOpen -
onBeforeClose-

Could you please help in using these codes, as i want to show the text description on zoom of image

Hi @michyd,

You can pass these options using the config method:

Zoomerang.config({
  onOpen () {
    // code
  },
  onClose () {
    // code
  },
  ...
})
  .listen('.zoom')

Did that answer your question?