Skip to main content
Module

x/swissKnife/mod.ts>notification

Deno Swiss Knife tools
Go to Latest
function notification
import { notification } from "https://deno.land/x/swissKnife@1.3/mod.ts";

Show window notification (Ballon)

Parameters

title: string

Notification Title

text: string

Notification Text

optional
icon = [UNSUPPORTED]

Icon number (from shell32.dll)

optional
timeout = [UNSUPPORTED]

Timeout in milliseconds to hide the notification Return the process exit code

Returns

Promise<number>