Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature-Request] Adding events to masonary #21

Open
DanielNetzeriAm opened this issue Mar 10, 2019 · 1 comment
Open

[Feature-Request] Adding events to masonary #21

DanielNetzeriAm opened this issue Mar 10, 2019 · 1 comment

Comments

@DanielNetzeriAm
Copy link

At the moment i'm wrapping complex components in the masonary and I could use events to the grid, eg. rendered(), rerendered(), etc...

@lil5
Copy link

lil5 commented Apr 26, 2019

If you're interested in changing some of the props you can use watchers.

watchers: {
  'cols': function () {
    this.$nextTick(()=> {
      this.recalculate();
    });
  },
}

This was typed on a phone so not 100% accurate but should get you there 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants