Skip to content

Commit

Permalink
Filter toc with search text
Browse files Browse the repository at this point in the history
  • Loading branch information
karimi committed Jun 4, 2024
1 parent ff1e85c commit 59b471e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion quasar_site/src/ViewModel.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { version } from "core-js";
import ApiInfo from "./api_info.json";

const DataTypes = {
Expand Down
2 changes: 1 addition & 1 deletion quasar_site/src/layouts/MainLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
</q-header>
<q-drawer v-model="leftDrawerOpen" behavior="desktop" show-if-above bordered id="myDrawer" :width="drawerWidth"
@mouseover="() => shouldAutoScroll = false" @mouseout="() => shouldAutoScroll = true">
<q-tree no-transition ref=myTree :nodes="api" accordion dense node-key="path" selected-color="accent"
<q-tree no-transition ref=myTree :nodes="api" accordion dense node-key="path" selected-color="accent" :filter="searchText"
v-model:selected="selectedNode" v-model:expanded="expanded" :duration="200" @lazy-load="onLazyLoad">
<template v-slot:default-header="prop" >
<div class="row items-center">
Expand Down

0 comments on commit 59b471e

Please sign in to comment.