From 1364ab29de697993bc34832cf77d4e99ee037223 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Sun, 29 Aug 2021 13:57:33 +0700 Subject: vfs: simplify the handlers on WuiVfsOptions Previously, the WuiVfsOptions contains two handlers: ListNodes to retrieve list of files and OnClickNode for triggering changes when user click a path or item in the list. This changes simplify it into single handler: Open, which accept path and boolean is_dir. --- vfs/example.html | 36 +++++++++++++----------------------- 1 file changed, 13 insertions(+), 23 deletions(-) (limited to 'vfs/example.html') diff --git a/vfs/example.html b/vfs/example.html index 3d8a772..1ebc1b4 100644 --- a/vfs/example.html +++ b/vfs/example.html @@ -9,7 +9,7 @@ -- cgit v1.3