Commit be1be189 authored by schneider210's avatar schneider210
Browse files

turn cursor into pointer when selecting items and hightlight selected item

parent ad88165c
Pipeline #134728 passed with stages
in 2 minutes and 36 seconds
<template> <template>
<div class="q-pa-md q-gutter-sm"> <div class="q-pa-md q-gutter-sm">
<q-tree <q-tree style="cursor: pointer;"
:expanded.sync="expanded" :expanded.sync="expanded"
:icon="fasCaretRight" :icon="fasCaretRight"
label-key="labelKey"
:nodes="tree" :nodes="tree"
node-key="label" node-key="label"
label-key="labelKey" :selected.sync="selected"
selected-color="grey"
text-color="black"
> >
</q-tree> </q-tree>
</div> </div>
...@@ -23,6 +26,7 @@ export default { ...@@ -23,6 +26,7 @@ export default {
data() { data() {
return { return {
expanded: ['The Story and Proverbs of Ahikar the Wise'], expanded: ['The Story and Proverbs of Ahikar the Wise'],
selected: null,
}; };
}, },
created() { created() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment