Closed ndabAP closed 6 years ago
I think you should specify that the actual pixel size depends on the grid size, as seen here https://github.com/dattn/dnd-grid/blob/master/src/demo.vue#L81
So,
gridSize: {
w: 101
}
and
position: {
w: 2
}
results in 202 pixels?
Yes.
The position
property, represents the position in the virtual grid.
And the size of one cell in this grid is defined with the gridSize
property.
Please see my latest commit.
Looks good to me
Thank you for the pull request. All Pull request should go to the develop branch, because my master branch represents the latest released version :)
Just some small additions which I missed at first.