1
0
mirror of https://shylinux.com/x/volcanos synced 2025-04-25 16:58:06 +08:00
2022-12-23 20:18:31 +08:00

14 lines
554 B
JavaScript

Volcanos(chat.ONIMPORT, {list: ["main", "filter", "grep:button", "history", "last"], _init: function(can, msg) {
can.onmotion.clear(can), can.onappend.table(can, msg)
can.onmotion.delay(can, function() {
can.page.Select(can, can._option, "input[name=filter]", function(target) {
target.onkeyup = function(event) { can.onmotion.highlight(can, target.value) }
})
})
}})
Volcanos(chat.ONACTION, {
"grep": function(event, can, button) {
can.runAction(event, nfs.GREP, [can.Option("main")], function(msg) { can.onimport._init(can, msg) })
},
})