diff options
Diffstat (limited to 'vfs/example.html')
| -rw-r--r-- | vfs/example.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vfs/example.html b/vfs/example.html index 1ebc1b4..4e28bf8 100644 --- a/vfs/example.html +++ b/vfs/example.html @@ -87,6 +87,7 @@ let opts = { id: "vfs", Open: Open, + OpenNode: OpenNode, } wui_vfs = new WuiVfs(opts) @@ -134,6 +135,10 @@ console.log("Open:", res) } + + function OpenNode(node) { + Open(node.path, node.is_dir) + } </script> </body> </html> |
