Added doc comment to toast()
This commit is contained in:
parent
ee574ae154
commit
0bd7ed8191
|
@ -253,6 +253,11 @@ export function pageWindow(path: string) {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Displays a toast message to the user.
|
||||||
|
*
|
||||||
|
* @param {string} message - The message to display in the toast.
|
||||||
|
*/
|
||||||
export function toast(message: string) {
|
export function toast(message: string) {
|
||||||
const { dispose } = popup(MkToast, {
|
const { dispose } = popup(MkToast, {
|
||||||
message,
|
message,
|
||||||
|
|
Loading…
Reference in a new issue