1.0.3 • Published 3 years ago

react-grid-layout-enhance v1.0.3

Weekly downloads
157
License
MIT
Repository
github
Last release
3 years ago

React-Grid-Layout-Enhance

React-Grid-Layout-Enhance is a grid layout system modified by React-Grid-Layout, for React.

change log:

1. add ChangeReason in utils.js:
export const ChangeReason = {
  didMount: "didMount",
  didUpdate: "didUpdate",
  dropItem: "dropItem",
  containerWidthChange: "containerWidthChange",
  itemMove: "itemMove",
  itemResize: "itemResize"
};

2. modify onLayoutChange func:
onLayoutChange(changeReason, layout, newLayouts)

so that developer can know the reason why onLayoutChange fired