mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2025-07-23 17:29:51 +02:00
update some package
This commit is contained in:
@ -349,6 +349,10 @@
|
||||
{
|
||||
text: "File dialog",
|
||||
id: "file"
|
||||
},
|
||||
{
|
||||
text: "Text dialog",
|
||||
id: "text"
|
||||
}
|
||||
]);
|
||||
return btrun.set("onbtclick", (e) => {
|
||||
@ -419,6 +423,13 @@
|
||||
}).then((f, name) => {
|
||||
return this.notify(f, name);
|
||||
});
|
||||
case "text":
|
||||
return this.openDialog("TextDialog", {
|
||||
title: "Text dialog review",
|
||||
value: "txt data"
|
||||
}).then((d) => {
|
||||
return this.notify(d);
|
||||
});
|
||||
}
|
||||
});
|
||||
}
|
||||
|
@ -7,7 +7,7 @@
|
||||
"email": "xsang.le@gmail.com",
|
||||
"licences": "GPLv3"
|
||||
},
|
||||
"version":"0.0.1-a",
|
||||
"version":"0.0.2-a",
|
||||
"category":"Other",
|
||||
"mimes":["none"],
|
||||
"iconclass": "fa fa-delicious",
|
||||
|
Binary file not shown.
@ -153,7 +153,8 @@ class ShowCase extends this.OS.GUI.BaseApplication
|
||||
{ text: "YesNo dialog", id: "yesno" },
|
||||
{ text: "Selection dialog", id: "selection" },
|
||||
{ text: "About dialog", id: "about" },
|
||||
{ text: "File dialog", id: "file" }
|
||||
{ text: "File dialog", id: "file" },
|
||||
{ text: "Text dialog", id: "text" }
|
||||
]
|
||||
|
||||
btrun.set "onbtclick", (e) =>
|
||||
@ -216,6 +217,14 @@ class ShowCase extends this.OS.GUI.BaseApplication
|
||||
})
|
||||
.then (f, name) =>
|
||||
@notify f, name
|
||||
|
||||
when "text"
|
||||
@openDialog("TextDialog", {
|
||||
title: "Text dialog review",
|
||||
value: "txt data"
|
||||
})
|
||||
.then (d) =>
|
||||
@notify d
|
||||
else return
|
||||
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
"email": "xsang.le@gmail.com",
|
||||
"licences": "GPLv3"
|
||||
},
|
||||
"version":"0.0.1-a",
|
||||
"version":"0.0.2-a",
|
||||
"category":"Other",
|
||||
"mimes":["none"],
|
||||
"iconclass": "fa fa-delicious",
|
||||
|
Reference in New Issue
Block a user