JSPM

@shenluw/vue-roll

0.1.10
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 2
    • Score
      100M100P100Q10176F

    Package Exports

    • @shenluw/vue-roll

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@shenluw/vue-roll) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    vue-roll

    一个基于better-scroll实现的横向滚动图片容器

    demo

    demo

    使用方法

    <vue-roll :images="imgs"
              :item-size="{height:'200px'}" >
    </vue-roll>
    
    
    <script>
    import VueRoll from '@shenluw/vue-roll'
    
    export default {
        name: 'demo',
        components: {
            VueRoll,
        },
        data() {
            return {
                imgs: ['img url', ...]
            }
        },
    }
    </script>