Click event doesn't work
See original GitHub issuehH! Windows 10 latest What did i do wrong?
constructor(serve) {
this.serve = serve;
const defaultIconPathPrefix = this.serve ? '/../../src/assets/' : '/../../dist/secure-box/assets/';
this.defaultIconPath = path.join(__dirname, defaultIconPathPrefix + 'icons/icon-72x72.png');
notifier.on('click', (notifierObject, options, event) => {
console.log('click ', 1);
console.log('obj ', notifierObject);
console.log('opti ', options);
console.log('event ', event);
});
notifier.on('timeout', (notifierObject, options) => {
console.log('finish ', 1);
});
this.subscribeToShowing();
}
public subscribeToShowing() {
ipcMain.on('notification', (event, data) => {
// event.returnValue = 'pong';
notifier.notify({
message: data.message,
title: data.title,
sound: data.sound || true, // "Bottle",
icon : data.icon || this.defaultIconPath,
wait: data.wait || true,
}, (err, res) => {
if (err) {
return;
}
});
});
}
When I click on a notification click event doesn’t work
Issue Analytics
- State:
- Created 4 years ago
- Comments:12
Top Results From Across the Web
jquery click event doesn't work - Stack Overflow
I wrote this code , and I need to handle click events with jquery , but it doesn't work in any browser ,...
Read more >Element: click event - Web APIs | MDN
An element receives a click event when a pointing device button (such as a mouse's primary mouse button) is both pressed and released...
Read more >JavaScript Click event doesn't work in the first click, why?
The javascript onclick event function executes a certain action or functionality when a button is clicked. This could be when a user(customer) submits...
Read more >Event listeners not working? 3 key areas to troubleshoot
Are your event listeners not working as you'd expect? Here are 3 key areas to troubleshoot to help you get everything triggering as...
Read more >Click event doesn't work on button sometimes - Studio
clicking on the export button should open the pop up. however sometimes it doesn't work.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@mikaelbr Click event is still not working on 9.0.0
Hi, I have this same error. I’m back to version 5.4.3 and then click event work correctly