Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
sendDesktopNotification function
DigitMagazine
Mar 23rd, 2018
99
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.22 KB
| None
|
0
0
raw
download
clone
embed
print
report
function sendDesktopNotification(ntfnTitle, ntfnBody, myFunc) {
let myNotification = new Notification(ntfnTitle, {
body: ntfnBody
})
if (myFunc) {
myNotification.onclick = myFunc;
}
}
Add Comment
Please,
Sign In
to add comment
Public Pastes
MainWindow.xaml
C# | 38 sec ago | 26.74 KB
MainWindow.xaml.cs
C# | 1 min ago | 37.27 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 🤑
GetText | 26 min ago | 0.39 KB
Untitled
C | 34 min ago | 8.08 KB
🤑 G2A.com Free Gift Card Guide May 2024 FIX 💰
GetText | 38 min ago | 0.38 KB
ASP.NET Weather Example API for HiddenDevs C#...
C# | 60 min ago | 3.85 KB
Sudoku v1
Python | 1 hour ago | 5.95 KB
Hurta retirho koncovka OK 3400 insufficient m...
Python | 1 hour ago | 4.04 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!