sul-dlss-deprecated / iiifManifestLayouts

Other
10 stars 5 forks source link

Does it make sense to add a method here that grabs the "next" and "previous" images to view? #79

Closed mejackreed closed 9 years ago

mejackreed commented 9 years ago

This method would look at whether or not paged is active and if so skip to the next/previous "left" page

aeschylus commented 9 years ago

Yep, working on it now! :) This will prevent other people from having to do the logic for the book mode, and track the "current page" themselves, which is a bit superfluous. I was thinking I would also add the cycleModes function to the core state as well.

aeschylus commented 9 years ago

For example: https://github.com/sul-dlss/sul-embed/issues/433

mejackreed commented 9 years ago

Yep exactly what I was working on. Will need to be used in the left/right mouse controls too https://github.com/sul-dlss/sul-embed/pull/437