kvision / pl.treksoft.kvision.electron / NotificationConstructorOptions

NotificationConstructorOptions

external interface NotificationConstructorOptions

Properties

actions

open var actions: Array<NotificationAction>?

body

abstract var body: String

closeButtonText

open var closeButtonText: String?

hasReply

open var hasReply: Boolean?

icon

open var icon: dynamic

replyPlaceholder

open var replyPlaceholder: String?

silent

open var silent: Boolean?

sound

open var sound: String?

subtitle

open var subtitle: String?

title

abstract var title: String

Extension Functions

createInstance

fun <T> Any?.createInstance(vararg args: dynamic): T

Helper function for creating JavaScript objects from dynamic constructors.