1
0
forked from x/ContextOS
ContextOS/usr/librarys/plugin/initFlashList.js
2019-05-24 02:15:58 +08:00

16 lines
499 B
JavaScript

{
show: function(item, index, intpus, event, option) {
var args = item.value == "所有"? ["all"]: []
option.Run(event, args, function(msg) {
option.ondaemon(msg)
})
},
init: function(page, pane, plugin, option, output) {
option.ondaemon = function(msg) {
output.innerHTML = ""
kit.AppendChild(output, [{type: "code", list: [{text: [msg.result.join(""), "pre"]}]}])
}
output.innerHTML = "hello"
}
}