mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2024-12-25 11:48:21 +01:00
update showcase
This commit is contained in:
parent
3ff8f1a6eb
commit
c3df98de9e
File diff suppressed because one or more lines are too long
@ -7,7 +7,7 @@
|
||||
"email": "xsang.le@gmail.com",
|
||||
"licences": "GPLv3"
|
||||
},
|
||||
"version":"0.0.6-a",
|
||||
"version":"0.0.7-a",
|
||||
"category":"Other",
|
||||
"mimes":["none"],
|
||||
"iconclass": "fa fa-delicious",
|
||||
|
Binary file not shown.
@ -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
|
||||
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
"email": "xsang.le@gmail.com",
|
||||
"licences": "GPLv3"
|
||||
},
|
||||
"version":"0.0.6-a",
|
||||
"version":"0.0.7-a",
|
||||
"category":"Other",
|
||||
"mimes":["none"],
|
||||
"iconclass": "fa fa-delicious",
|
||||
|
@ -245,7 +245,7 @@
|
||||
"description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/ShowCase/README.md",
|
||||
"category": "Other",
|
||||
"author": "Xuan Sang LE",
|
||||
"version": "0.0.6-a",
|
||||
"version": "0.0.7-a",
|
||||
"dependencies": [],
|
||||
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/ShowCase/build/release/ShowCase.zip"
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user