Learn more  » Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

jsarnowski / jsarnowski/jet-blocks   php

Repository URL to install this package:

Version: 1.2.8 

/ modules / vue-ui / components / component-wrapper.php

<div
	:class="wrapperClasses()" v-if="isVisible() && ! preventWrap"
>
	<div
		class="cx-vui-component__meta"
		v-if="this.label || this.description"
	>
		<label
			class="cx-vui-component__label"
			v-if="this.label"
			:for="elementId"
			v-html="this.label"
		></label>
		<div
			class="cx-vui-component__desc"
			v-if="this.description"
			v-html="this.description"
		></div>
	</div>
	<div class="cx-vui-component__control">
		<slot></slot>
	</div>
</div>
<div
	:class="wrapperClassesRaw"
	v-else-if="isVisible()"
>
	<slot></slot>
</div>