mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-24 17:04:14 +01:00
13 lines
347 B
TypeScript
13 lines
347 B
TypeScript
import {Et2Tree} from "./Et2Tree";
|
|
|
|
export function initMailTree(): Et2Tree {
|
|
const changeFunction = () => {
|
|
console.log("change"+tree)
|
|
}
|
|
const tree: Et2Tree = document.querySelector("et2-tree");
|
|
tree.selection = "single";
|
|
tree.addEventListener("sl-selection-change", (event)=>{console.log(event)})
|
|
return tree;
|
|
}
|
|
|