Skip to content

onclick property does not work #5

@ccnokes

Description

@ccnokes

The onclick property of a notification instance doesn't work.

let Notification = require('node-mac-notifier');
let n = new Notification('test');
n.onclick = function() { console.log('onclick'); };
n.addEventListener('click', () => { console.log('event listener');  });

The addEventListener callback gets called but not the onclick.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions