mirror of
https://github.com/lxsang/antos-frontend.git
synced 2025-07-26 18:59:45 +02:00
add float list
This commit is contained in:
@ -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 = @
|
||||
|
Reference in New Issue
Block a user