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 / switcher.php

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

34 lines 776 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <cx-vui-component-wrapper
2 :elementId="currentId"
3 :label="label"
4 :description="description"
5 :wrapper-css="wrapperCss"
6 :preventWrap="preventWrap"
7 v-if="isVisible()"
8 >
9 <div
10 tabIndex="0"
11 :id="currentId"
12 :class="{
13 'cx-vui-switcher': true,
14 'cx-vui-switcher--disabled': this.disabled,
15 'cx-vui-switcher--on': this.isOn,
16 'cx-vui-switcher--off': ! this.isOn,
17 'cx-vui-switcher--in-focus': this.inFocus
18 }"
19 @keyup.enter="handleEnter"
20 @focus="handleFocus"
21 @blur="handleBlur"
22 @click="switchState"
23 >
24 <input
25 type="hidden"
26 checked="checked"
27 class="cx-vui-switcher__input"
28 :name="name"
29 :value="currentValue"
30 >
31 <div class="cx-vui-switcher__panel"></div>
32 <div class="cx-vui-switcher__trigger"></div>
33 </div>
34 </cx-vui-component-wrapper>