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

Adds complete comments, refactors some class code. #22

Closed paytonshaltis closed 1 year ago

paytonshaltis commented 1 year ago

Closes #9.

Adds comments for the entire Carousel class. This will make adding new code to the class much easier as time goes on. All class methods are now written as actual methods and not as properties with function values. Moved some code around to make more logical sense.