Skip to content
This repository has been archived by the owner on Jul 25, 2020. It is now read-only.

Build a proper slideshow component #16

Closed
johndigital opened this issue Jan 9, 2018 · 3 comments
Closed

Build a proper slideshow component #16

johndigital opened this issue Jan 9, 2018 · 3 comments
Assignees

Comments

@johndigital
Copy link
Contributor

Using "scoped slots" is the way to do this: https://vuejs.org/v2/guide/components.html#Scoped-Slots

Add some documentation about gallery gravity effects, and add minimum styling.

@johndigital johndigital self-assigned this Jan 9, 2018
@SaFrMo
Copy link
Contributor

SaFrMo commented Feb 8, 2018

I started a branch called slideshow to work on this. Looks like Vue testing might not support scoped slots yet, so that's something to keep in mind!

@SaFrMo
Copy link
Contributor

SaFrMo commented Feb 8, 2018

From Drew's wishlist at #22:

OK, here is my running list of things that are common for slideshows/galleries

  • Work as a component or as a shortcode in wp-content
  • Next/Prev divs
  • Pagination indicator (either boxes or numbers)
  • Video background, or image background
  • Gravity on contents (probably just use CCS classes)
  • Auto advance of slides
  • Option to stop auto advance on click
  • Ability to start at X index slide
  • Ability to jump to X index slide
  • Delay start of slide by X seconds (useful when showing multiple galleys on a page in a grid)
  • Basic events (maybe not needed yet)
  • Basic methods (maybe not needed yet)

@johndigital
Copy link
Contributor Author

Version 1 of this is now implemented and documented in ba0ff2e. All of the above features are included!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants