paytonshaltis / freighter

🚂 Freighter is a highly-customizable HTML carousel library featuring a number of dynamic properties affecting carousel items and transitions. Most prominently, it gives complete control over the resizing method (for responsive layouts) as well as the wrapping method (for content display).
https://paytonshaltis.github.io/freighter
MIT License
1 stars 0 forks source link

Create an interface for instantiating carousels. #2

Closed paytonshaltis closed 1 year ago

paytonshaltis commented 1 year ago

Need to have an easy way for a user to add carousels to their document without them worrying about pasting several wrappers with unique IDs and class names.

Ideally, the user would just include a single div in their markup which will be replaced by JS with the appropriate elements that are marked with unique IDs for appropriate styling.