diff options
| -rw-r--r-- | vfs/vfs.ts | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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" |
