mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-14 13:44:47 +00:00
10 lines
318 B
JavaScript
10 lines
318 B
JavaScript
"use strict";
|
|
exports.__esModule = true;
|
|
var electron_1 = require("electron");
|
|
module.exports = function (socket) {
|
|
socket.on('createNotification', function (options) {
|
|
var notification = new electron_1.Notification(options);
|
|
notification.show();
|
|
});
|
|
};
|
|
//# sourceMappingURL=notification.js.map
|