UNPKG

@itihon/file-tree-view

Version:

File tree view component based on Web Components API

21 lines (20 loc) 587 B
import type FTVFolder from './FTVFolder'; import FTVRef from './FTVRef'; export default class FTVNode extends FTVRef<FTVNode> { private expandable; private label; private path; private initPath; constructor(name: string, expandable?: boolean); connectedCallback(): void; getContainingFolder(): FTVFolder | null; getName(): string; isSelected(): boolean; toggleSelected(): void; select(): void; deselect(): void; isFocused(): boolean; setName(name: string): void; getRelativePath(): string; isFolder(): this is FTVFolder; }