diff options
| author | Tusooa Zhu <tusooa@kazv.moe> | 2021-08-07 18:53:23 -0400 |
|---|---|---|
| committer | Tusooa Zhu <tusooa@kazv.moe> | 2022-03-07 19:19:29 -0500 |
| commit | d9a9f97751b2f51f55848652e5126700aea0f3fe (patch) | |
| tree | fcb50e83c15a01879759332a47f91bfbe2a69684 /src/components/thread_tree/thread_tree.js | |
| parent | 8c0deb905eb9860430d831d8d215e1eb6910f117 (diff) | |
Add simple tree style navigation
Diffstat (limited to 'src/components/thread_tree/thread_tree.js')
| -rw-r--r-- | src/components/thread_tree/thread_tree.js | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/components/thread_tree/thread_tree.js b/src/components/thread_tree/thread_tree.js index ec7d5884..cb1d2242 100644 --- a/src/components/thread_tree/thread_tree.js +++ b/src/components/thread_tree/thread_tree.js @@ -1,5 +1,16 @@ import Status from '../status/status.vue' +import { library } from '@fortawesome/fontawesome-svg-core' +import { + faAngleDoubleDown, + faAngleDoubleRight +} from '@fortawesome/free-solid-svg-icons' + +library.add( + faAngleDoubleDown, + faAngleDoubleRight +) + // const debug = console.log const debug = () => {} @@ -19,11 +30,12 @@ const ThreadTree = { profileUserId: String, focused: Function, - getHighlight: Function, + highlight: String, getReplies: Function, setHighlight: Function, toggleExpanded: Function, + simple: Boolean, // to control display of the whole thread forest toggleThreadDisplay: Function, threadDisplayStatus: Object, |
