Created
April 11, 2019 12:27
-
-
Save petrjasek/94f999c4ef8670828e9dd5ab7b9a9967 to your computer and use it in GitHub Desktop.
signals api
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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