add float list

This commit is contained in:
mrsang
2020-04-27 18:50:52 +02:00
parent 8a441e5a59
commit c46049fd0c
7 changed files with 118 additions and 18 deletions

View File

@ -70,7 +70,7 @@ class ShowCase extends this.OS.GUI.BaseApplication
</afx-hbox>
<afx-hbox title="Virtual desktop">
<div data-height="200">desktop</div>
<afx-float-list1 data-id = "flist"/>
</afx-hbox>
</afx-tab-container>
@ -198,6 +198,14 @@ class ShowCase extends this.OS.GUI.BaseApplication
slider[0].set "onchanging", (v) ->
console.log v
list = $ "[data-id='flist']", scheme[0]
list[0].set "data", [
{ text: "File.txt" },
{ text: "FileB.doc" },
{ text: "Data.doc", iconclass: "fa fa-camera-retro fa-lg" }
]
mnFile: () ->
#console.log file
me = @