This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// At my job I had to quickly wip a vertical carousel to work along side the owl carousel | |
// TODO: EXPOSE next and previous contorls, or addevent listener that listens for owl next event | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class='carousel'> | |
<svg width="100%" viewBox="0 0 100vw 100vh"> | |
<transition-group tag='g' | |
appear | |
appear-class="reveal" | |
ref='svg' | |
name='blinds' | |
@after-enter='afterEnter' | |
@after-leave='afterLeave'> |