YAC Carousel (Yet Another Carousel)
npm install yac-carouselnpm install to install all dependenciesnpm run develop to start local webpack server. This will open test page automatically in the browser and reload on any code changes.Take a look at src/carousel.ts to get a better idea how the mixins are applied to the classes and test/page/index.ts to see how they are used to initialize the carousel.
Mixin | Class | Description | Container Deps | Item Deps
----- | ----- | ----------- | ------------------- | --------------
AlignableCore | Container | Set/get align option | |
AlignableElement | Container | Automatically set align option by examining CSS styles applied to the element | AlignableCore
ElementableCore |
Autoplayable | Container | Allows automatic cycling through items | IndexableSelect |
Controllable | Container | Set/get controller instance | ItemizableCoreInstance
Typeable
BoxModelable
AlignableCore
DirectionableCoreMixin
IndexableSelect
Nudgeable |
CssTransformableTranslate | Item | Set/get CSS transform: translate(...) style on element | | ElementableCore