bespokejs / bespoke

DIY Presentation Micro-Framework

Home Page:http://markdalgleish.com/projects/bespoke.js/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dynamic adding of slides

MarZab opened this issue · comments

Does dynamic adding of slides fit into this project, is there any plan to add it?

I've thought about it, but never made any plans for it because it seems like an edge case for most people.

Can I get some details about your specific use case?

A slide editor in AngularJS. Currently im using flexslider and I want to get away from it.

Doing stuff like adding, removing, reordering slides - the usual slide editing stuff.

If you want to use Bespoke.js for this, I would recommend going as far as you can with the project as it exists currently, probably by re-initialising the deck whenever it's modified.

Rather than making dynamic deck modifications a core feature, I'd rather make sure that the core can support this use case in the form of a plugin, e.g. we might need to add a deck.destroy() method so that we can do some cleanup before you create a new deck.