Skip to content

How to call pckry.layout() from child component #15

@boonier

Description

@boonier

Hi, this might be an implementation issue on my side, but I've a use-case where I need child components to explicitly set their height when their dimensions change, on a debounced resize event for example.

How to I call the layout() method to force re-arrange in an instance of a Packery component?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions