Fixed the issue of carousel migration

development
Nikan Dalvand 2019-08-18 11:05:18 +04:30
parent b0de0eb8b3
commit 48eb6ee08c
1 changed files with 0 additions and 7 deletions

View File

@ -9,19 +9,12 @@
<script>
import MusicBox from '../components/MusicBox'
import Scrollbar from 'smooth-scrollbar'
import HorizontalScrollPlugin from '../utility/HorizontalScrollPlugin'
import Carousel from '../components/Carousel'
Scrollbar.use(HorizontalScrollPlugin)
export default {
name: 'MusicRow',
props: ['items', 'title'],
components: { MusicBox, Carousel },
mounted () {
let container = this.$el.getElementsByClassName('items')[0]
Scrollbar.init(container, { overscrollEffect: 'bounce', continuousScrolling: true, horizontal: true })
}
}
</script>