const { h, v } = Reveal.getIndices()
Reveal.getSlide(h, v)
to always give the same result as
Reveal.getCurrentSlide()
This is indeed the case in the normal view mode. However, in scroll view it looks like getSlide(h,v) returns a dummy horizontal slide from the first children of the .slides element, whereas getCurrentSlide() works as expected and returns the actual slide element.
I would expect
to always give the same result as
This is indeed the case in the normal view mode. However, in scroll view it looks like
getSlide(h,v)
returns a dummy horizontal slide from the first children of the.slides
element, whereasgetCurrentSlide()
works as expected and returns the actual slide element.