0.0.7 • Published 2 years ago

vue-mirror-scope v0.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

vue-mirror-scope

description

中文文档

preview

Vue-mirror-scope is a product picture enlargement for details view components, functions and Taobao's magnifying glass

install

npm install --save vue-mirror-scope

use

    <template>
        <vue-mirror-scope :imgList="imgList"></vue-mirror-scope>
    <template>

    <script>
        import {defineComponent} from Vue
        import VueMirrorScope from "vue-mirror-scope"
        export default defineComponent({
            components:{
                VueMirrorScope
            },
            setup(){
                const imgList = ['./img1.png','img2.png',...]; // and more
            }
        })

    </script>

property document

propertyvalueexplain
imgListArraystringimage source list
sizeStringMagnifying the size of the main image area/zoom area,It is a A square ,size * size,(only support px)
expandScopeNumberMagnification of pictures at double speed
0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.0.0

2 years ago