Make menu expanded by default

pull/345/head
cagataycivici 2020-05-13 17:18:33 +03:00
parent f50c9b46f7
commit 5c20059d18
1 changed files with 54 additions and 70 deletions

View File

@ -63,8 +63,6 @@
<router-link to="/datatable" v-slot="{href,route,navigate,isActive,isExactActive}">
<div :class="[isActive && 'router-link-active', isExactActive && 'router-link-exact-active']">
<a :href="href" @click="navigate">DataTable</a>
<transition name="p-toggleable-content">
<div class="p-toggleable-content" v-show="isActive">
<ul>
<li><router-link to="/datatable/basic">Basic</router-link></li>
<li><router-link to="/datatable/dynamiccolumns">Dynamic</router-link></li>
@ -91,8 +89,6 @@
<li><router-link to="/datatable/crud">Crud</router-link></li>
</ul>
</div>
</transition>
</div>
</router-link>
<router-link to="/dataview">DataView</router-link>
@ -104,8 +100,6 @@
<router-link to="/tree" v-slot="{href,route,navigate,isActive,isExactActive}">
<div :class="[isActive && 'router-link-active', isExactActive && 'router-link-exact-active']">
<a :href="href" @click="navigate">Tree</a>
<transition name="p-toggleable-content">
<div class="p-toggleable-content" v-show="isActive">
<ul>
<li><router-link to="/tree/selection">Selection</router-link></li>
<li><router-link to="/tree/lazy">Lazy</router-link></li>
@ -113,14 +107,10 @@
<li><router-link to="/tree/filter">Filter</router-link></li>
</ul>
</div>
</transition>
</div>
</router-link>
<router-link to="/treetable" v-slot="{href,route,navigate,isActive,isExactActive}">
<div :class="[isActive && 'router-link-active', isExactActive && 'router-link-exact-active']">
<a :href="href" @click="navigate">TreeTable</a>
<transition name="p-toggleable-content">
<div class="p-toggleable-content" v-show="isActive">
<ul>
<li><router-link to="/treetable/templating">Templating</router-link></li>
<li><router-link to="/treetable/size">Size</router-link></li>
@ -134,8 +124,6 @@
<li><router-link to="/treetable/responsive">Responsive</router-link></li>
</ul>
</div>
</transition>
</div>
</router-link>
</div>
@ -221,8 +209,6 @@
<router-link to="/galleria" v-slot="{href,route,navigate,isActive,isExactActive}">
<div :class="[isActive && 'router-link-active', isExactActive && 'router-link-exact-active']">
<a :href="href" @click="navigate">Galleria</a>
<transition name="p-toggleable-content">
<div class="p-toggleable-content" v-show="isActive">
<ul>
<li><router-link to="/galleria">Documentation</router-link></li>
<li><router-link to="/galleria/basic">Basic</router-link></li>
@ -235,8 +221,6 @@
<li><router-link to="/galleria/caption">Caption</router-link></li>
</ul>
</div>
</transition>
</div>
</router-link>
</div>