HEX
Server: Apache/2.4.65 (Debian)
System: Linux wordpress-7cb4c6b6f6-qgbk2 5.15.0-131-generic #141-Ubuntu SMP Fri Jan 10 21:18:28 UTC 2025 x86_64
User: www-data (33)
PHP: 8.3.27
Disabled: NONE
Upload Files
File: /var/www/html/wp-content/plugins/jet-engine/framework/vue-ui/components/switcher.php
<cx-vui-component-wrapper
	:elementId="currentId"
	:label="label"
	:description="description"
	:wrapper-css="wrapperCss"
	:preventWrap="preventWrap"
	v-if="isVisible()"
>
	<div
		tabIndex="0"
		:id="currentId"
		:class="{
			'cx-vui-switcher': true,
			'cx-vui-switcher--disabled': this.disabled,
			'cx-vui-switcher--on': this.isOn,
			'cx-vui-switcher--off': ! this.isOn,
			'cx-vui-switcher--in-focus': this.inFocus
		}"
		@keyup.enter="handleEnter"
		@focus="handleFocus"
		@blur="handleBlur"
		@click="switchState"
	>
		<input
			type="hidden"
			checked="checked"
			class="cx-vui-switcher__input"
			:name="name"
			:value="currentValue"
		>
		<div class="cx-vui-switcher__panel"></div>
		<div class="cx-vui-switcher__trigger"></div>
	</div>
</cx-vui-component-wrapper>