Skip to content

Instantly share code, notes, and snippets.

@piotrpog
Created January 20, 2023 18:54
Show Gist options
  • Save piotrpog/5658b9d618a18e14fb217528408e0ffc to your computer and use it in GitHub Desktop.
Save piotrpog/5658b9d618a18e14fb217528408e0ffc to your computer and use it in GitHub Desktop.
Garnish.on(Craft.BaseElementIndex, 'updateElements', (ev) => {
// ev.target = the element index
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment