Get started
Accounts
Apps
Users
Relationships
Dialogs (Messages)
Tracks (MuseBase)
Photos
Posts
Comments
Safety
Other
Yurba CDN (cdn.yurba.one)
Yurba Desktop API
Yurba Component Language
createNotification: String name
createNotification {
Method prepare {
icon: Path, // Local path to the image
title: String,
text: String,
type: String // "default", "error"
},
Method show
}
const myNotification = app.createNotification("myNotification")
myNotification.prepare({
icon: "icon.png",
title: "Hello world",
text: "This is my test notification"
})
myNotification.show()