PluginProbe
JetFormBuilder — Dynamic Blocks Form Builder / 3.6.6
JetFormBuilder — Dynamic Blocks Form Builder v3.6.6
3.6.6.1 3.6.6 3.6.5.4 3.6.5.3 3.6.5.2 3.6.5.1 3.6.5 3.6.4.2 3.6.4.1 3.6.4 3.6.3.1 3.6.3 3.6.2.2 3.6.2.1 3.6.2 3.6.1.1 3.6.1 3.6.0.1 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 All 134 releases
jetformbuilder / modules / framework / vue-ui / components / tabs.php

tabs.php in JetFormBuilder — Dynamic Blocks Form Builder 3.6.6, at modules/framework/vue-ui/components/tabs.php

30 lines 600 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Tabs component
4 */
5 ?>
6 <div
7 :class="{
8 'cx-vui-tabs': true,
9 'cx-vui-tabs--invert': invert,
10 'cx-vui-tabs--layout-vertical': 'vertical' === this.layout,
11 'cx-vui-tabs--layout-horizontal': 'horizontal' === this.layout,
12 'cx-vui-tabs--in-panel': inPanel,
13 }"
14 >
15 <div class="cx-vui-tabs__nav">
16 <div
17 v-for="item in navList"
18 :class="{
19 'cx-vui-tabs__nav-item': true,
20 'cx-vui-tabs__nav-item--active': isActive( item.name ),
21 }"
22 @click="onTabClick( item.name )"
23 >
24 {{ item.label }}
25 </div>
26 </div>
27 <div class="cx-vui-tabs__content">
28 <slot></slot>
29 </div>
30 </div>