HubSpot / vex

A modern dialog library which is highly configurable and easy to style. #hubspot-open-source
http://github.hubspot.com/vex/docs/welcome
MIT License
6.92k stars 494 forks source link

Is there a way to treat modals like a carousel? #198

Closed curtisblackwell closed 7 years ago

curtisblackwell commented 7 years ago

I'm looking for a way to open multiple modals, then use previous/next buttons to navigate through them.

Is there a simple way to do this with Vex?

bbatliner commented 7 years ago

The demo on vex's website has something like a carousel: http://github.hubspot.com/vex/docs/welcome/, but functions by basically opening a lot of dialogs, and moving through them one by one.

For custom navigation (forward/back), I think you would need to build your own functionality on top of vex, that could open and close dialogs as the user navigates through them.

curtisblackwell commented 7 years ago

Yeah, I saw that and checked out the code. There didn't seem to be a simple way to go back, though.

Thanks for the response.