1.2.2 • Published 7 years ago

vue-widgets-layout v1.2.2

Weekly downloads
18
License
-
Repository
-
Last release
7 years ago

VUE-WIDGETS-LAYOUT

Draggable and resizable widgets

github repository

Installation


Install package using npm:

npm install vue-widgets-layout --save

Usage


<template>
  <div>
    <layout-container>
      <some-element/>
    </layout-container>
  </div>
</template>

<script>
import LayoutContainer from 'vue-widgets-layout';

export default {
	components: [
		LayoutContainer
	]
};
</script>

Events


  • ready: event fired once grid is initialized and positions are recalculated
  • updated: every time any user interacted with layout element

Props

  • colNumber: number of columns
  • resizable: defines whether grid items can be resized
  • draggable: defines whether grid items can be dragged
  • useAnimations: use css trancition property to animate user interractions
  • isEditing: toggle grid editing mode
1.2.2

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.0.0

7 years ago