From d9a9f97751b2f51f55848652e5126700aea0f3fe Mon Sep 17 00:00:00 2001 From: Tusooa Zhu Date: Sat, 7 Aug 2021 18:53:23 -0400 Subject: Add simple tree style navigation --- src/components/thread_tree/thread_tree.js | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'src/components/thread_tree/thread_tree.js') 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, -- cgit v1.2.3-70-g09d2