mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-11-16 17:48:21 +01:00
add float list
This commit is contained in:
parent
15f1fb45eb
commit
ec09e07eb7
@ -10,7 +10,7 @@
|
|||||||
self.root.observable = opts.observable || riot.observable()
|
self.root.observable = opts.observable || riot.observable()
|
||||||
self.view = opts.view || 'list'
|
self.view = opts.view || 'list'
|
||||||
self.data = opts.data || []
|
self.data = opts.data || []
|
||||||
self.path = opts.path || "os://"
|
self.path = opts.path || "home:///"
|
||||||
self.onfileselect
|
self.onfileselect
|
||||||
this.status = opts.status == undefined?true:opts.status
|
this.status = opts.status == undefined?true:opts.status
|
||||||
this.selectedFile = undefined
|
this.selectedFile = undefined
|
||||||
|
8
src/core/tags/afx-float-list.js
Normal file
8
src/core/tags/afx-float-list.js
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<afx-float-list>
|
||||||
|
<div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<script>
|
||||||
|
|
||||||
|
</script>
|
||||||
|
</afx-float-list>
|
@ -14,7 +14,9 @@ class Calendar extends this.OS.GUI.BaseService
|
|||||||
me.update()
|
me.update()
|
||||||
|
|
||||||
awake: (e) ->
|
awake: (e) ->
|
||||||
@.openDialog "CalendarDialog", (d) -> console.log d
|
@.openDialog "CalendarDialog", (d) ->
|
||||||
|
console.log d
|
||||||
|
, "Calendar"
|
||||||
# do nothing
|
# do nothing
|
||||||
cleanup: (evt) ->
|
cleanup: (evt) ->
|
||||||
console.log "cleanup for quit"
|
console.log "cleanup for quit"
|
||||||
|
Loading…
Reference in New Issue
Block a user