mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2025-07-25 02:09:50 +02:00
update showcase
This commit is contained in:
@ -140,7 +140,8 @@ class ShowCase extends this.OS.application.BaseApplication
|
||||
{ text: "About dialog", id: "about" },
|
||||
{ text: "File dialog", id: "file" },
|
||||
{ text: "Text dialog", id: "text" },
|
||||
{ text: "Multi-input dialog", id: "minputs" }
|
||||
{ text: "Multi-input dialog", id: "minputs" },
|
||||
{ text: "Multi key value dialog", id: "mkv" }
|
||||
]
|
||||
|
||||
btrun.onbtclick = (e) =>
|
||||
@ -228,6 +229,18 @@ class ShowCase extends this.OS.application.BaseApplication
|
||||
})
|
||||
.then (d) =>
|
||||
@notify JSON.stringify(d)
|
||||
|
||||
when "mkv"
|
||||
@openDialog("KeyValueDialog", {
|
||||
title: "Multi key-values",
|
||||
data: {
|
||||
name: "John Doe",
|
||||
email: "jd@mail.com",
|
||||
where: "Anywhere on Earth"
|
||||
}
|
||||
})
|
||||
.then (d) =>
|
||||
@notify JSON.stringify(d)
|
||||
else return
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user