akveo / akveo/ngx-admin

Tree-root get filepath when clicked

オープン
#1,984 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
25.7k
フォーク
7.9k
PR マージ指標
30日以内にマージされた PR はありません

説明

* [ x] question about the decisions made in the repository

### Issue description

**Current behavior:**
Tree root lets me go down through folders and see files etc

**Expected behavior:**
I want to be able to click a file in the tree-root and be able to have the filepath to it: something like:

```
'folder1/folder1inside/filename.png'
```

What I have in html is:
```

```

and in just JS which just shows the name of the clicked element of the tree-root:

```
clicked(event: Event) {
console.log(event.srcElement.textContent);
}
```

I would also like to be able to change the background/foreground colors of the selected item in the tree-root but not sure if possible without editing base tree-root component?

Thanks all!

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。