Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 726 Bytes

README.md

File metadata and controls

51 lines (36 loc) · 726 Bytes

masonryjs

流式拖拽排序

安装

cnpm install @624144061/masonryjs

示例

import Masonry from '@624144061/masonryjs';
Masonry.create(
this.$refs['container'].$el,//容器 docoment
        {
         columnGap:10,
         rowGap:10,
         draggable:true,//拖拽
         scaleable:true//放缩
        })
//更新
Masonry.update();//更新当前容器下的布局

demo

Project setup

yarn install

Compiles and hot-reloads for development

yarn serve

Compiles and minifies for production

yarn build

Customize configuration

See Configuration Reference.