Closed netzproductions closed 3 years ago
@desandro, you mentioned using pckry.packer.spaces to get access to all gaps rendered. Would you please so kind to tell how to get the spaces array using jQuery init? Thanks in advance, Alex
Use .data('packery') to get the Packery instance pckry
.data('packery')
pckry
let pckry = $grid.data('packery'); console.log( pckry.packer.spaces )
@desandro, you mentioned using pckry.packer.spaces to get access to all gaps rendered. Would you please so kind to tell how to get the spaces array using jQuery init? Thanks in advance, Alex