We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 394f59a commit 190f41eCopy full SHA for 190f41e
app-src/scripts/main/global-services/extension-interface-s.js
@@ -13,18 +13,20 @@
13
14
class ExtensionInterface {
15
/* @ngInject */
16
- constructor() {
+ constructor(SimpleToast) {
17
this.isInterfaceReady = false;
18
+ this.SimpleToast = SimpleToast;
19
20
interfaceEl.addEventListener('SP_EXTENSION_READY', () => {
21
this.isInterfaceReady = true;
22
+ this.SimpleToast('SUCCESS', 'Super Productivity Extension found and loaded.')
23
});
24
}
25
26
addEventListener(ev, cb) {
27
interfaceEl.addEventListener(ev, (ev) => {
28
cb(ev, ev.detail);
- })
29
+ });
30
31
32
dispatchEvent(evName, data) {
0 commit comments