Thanks to visit codestin.com
Credit goes to github.com

Skip to content

added GridStack.updateCB(w) #3061

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

Merged
merged 1 commit into from
May 27, 2025
Merged

added GridStack.updateCB(w) #3061

merged 1 commit into from
May 27, 2025

Conversation

adumesny
Copy link
Member

Description

  • GridStack.updateCB(w) gets called after a widget has been updated (eg: load() after initial layout) instead of created

* gets called after a widget has been updated (eg: load() after initial layout) instead of created
@adumesny adumesny merged commit eef37e5 into gridstack:master May 27, 2025
adumesny added a commit to adumesny/gridstack.js that referenced this pull request May 27, 2025
@@ -1383,6 +1386,7 @@ export class GridStack {
if (ddChanged) {
this.prepareDragDrop(n.el);
}
GridStack.updateCB(n); // call user callback so they know widget got updated
Copy link

@creage creage May 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code crashes with TypeError: GridStack.updateCB is not a function

@adumesny
Copy link
Member Author

of course! what happens when you're in a hurry to release something for work...will fix ASAP. thanks.

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

Successfully merging this pull request may close these issues.

2 participants