Skip to content

Instantly share code, notes, and snippets.

@petrjasek
Created April 11, 2019 12:27
Show Gist options
  • Save petrjasek/94f999c4ef8670828e9dd5ab7b9a9967 to your computer and use it in GitHub Desktop.
Save petrjasek/94f999c4ef8670828e9dd5ab7b9a9967 to your computer and use it in GitHub Desktop.
signals api
// in module config
signals.connect('authoring:change', (item, diff, $scope) => { ... });
// launch signal
signals.send('authoring:change', {item, diff, $scope});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment