aboutsummaryrefslogtreecommitdiff
path: root/vfs/vfs.ts
diff options
context:
space:
mode:
Diffstat (limited to 'vfs/vfs.ts')
-rw-r--r--vfs/vfs.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/vfs/vfs.ts b/vfs/vfs.ts
index c6a5a8d..ab36eda 100644
--- a/vfs/vfs.ts
+++ b/vfs/vfs.ts
@@ -4,6 +4,9 @@
import { WuiResponseInterface } from "../response"
+const CLASS_VFS_PATH = "wui_vfs_path"
+const CLASS_VFS_LIST = "wui_vfs_list"
+
export interface WuiVfsNodeInterface {
name: string
path: string
@@ -91,6 +94,7 @@ class WuiVfsList {
constructor(public onClick: NodeClickHandler) {
this.el = document.createElement("div")
+ this.el.classList.add(CLASS_VFS_LIST)
this.el.style.borderWidth = "1px"
this.el.style.borderStyle = "solid"
this.el.style.borderColor = "silver"
@@ -138,6 +142,8 @@ class WuiVfsPath {
constructor(onClick: PathClickHandler) {
this.el = document.createElement("div")
+
+ this.el.classList.add(CLASS_VFS_PATH)
this.el.style.borderWidth = "1px"
this.el.style.borderStyle = "solid"
this.el.style.borderColor = "silver"