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:
@ -34,7 +34,7 @@ class ShowCase extends this.OS.application.BaseApplication
|
||||
@notify e.data
|
||||
|
||||
menu = @find 'menu'
|
||||
menu.items = @menu()
|
||||
menu.nodes = @menu()
|
||||
|
||||
list.contextmenuHandle = (e, m) =>
|
||||
m.items = @menu()
|
||||
@ -208,7 +208,8 @@ class ShowCase extends this.OS.application.BaseApplication
|
||||
when "text"
|
||||
@openDialog("TextDialog", {
|
||||
title: "Text dialog review",
|
||||
value: "txt data"
|
||||
value: "txt data",
|
||||
label: "this is the label"
|
||||
})
|
||||
.then (d) =>
|
||||
@notify d
|
||||
@ -284,11 +285,11 @@ class ShowCase extends this.OS.application.BaseApplication
|
||||
{ text: "__(Sidebar)", switch: true, checked: true },
|
||||
{ text: "__(Navigation bar)", switch: true, checked: false },
|
||||
{ text: "__(Hidden files)", switch: true, checked: true, dataid: "#{@name}-hidden" },
|
||||
{ text: "__(Type)", child: [
|
||||
{ text: "__(Type)", nodes: [
|
||||
{ text: "__(Icon view)", radio: true, checked: true, dataid: "#{@name}-icon", type: 'icon' },
|
||||
{ text: "__(List view)", radio:true, checked: false, dataid: "#{@name}-list", type: 'list' },
|
||||
{ text: "__(Tree view)", radio:true, checked: false, dataid: "#{@name}-tree", type: 'tree' }
|
||||
], onchildselect: (e) -> @notify e.data.item.data.text
|
||||
], onchildselect: (e) => @notify e.data.item.data.text
|
||||
},
|
||||
], onchildselect: (e) => @notify e.data.item.data.text
|
||||
},
|
||||
|
Reference in New Issue
Block a user