laravel-jstools
Version:
JS tools for building front-side of Laravel applications
13 lines (12 loc) • 421 B
TypeScript
import { AnyObjInterface } from "../interfaces/AnyObjInterface";
export declare class Tree {
private treeId;
private $tree;
private tree;
constructor(treeId: string, options: AnyObjInterface, data: Array<AnyObjInterface>);
private setHoverListener;
private prepareData;
setData(data: Array<AnyObjInterface>): void;
select(value: string): void;
getValue(): null | string;
}