jackwanders/GalleryView

Documentation & Events

Opened this issue · 0 comments

Hello! I really loved the gallery thing and used it in one of my projects. However, I came across the following problems:

  • If I add certain non-html attributes on my img tags, they get lost; ex: img data-id="foo" cannot be found after galleryView is bound;
  • Like any plugin it would really be nice to have an api to get configuration options at runtime like: $(selector).galleryView('option', 'currentSlide'), etc.
  • What I needed was to detect the image currently being displayed, so support for standard events like onSlideChange, onPlay, onPause, etc. would be great to have.

Thanks.