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

<div
	:class="{ 'cx-vui-collapse': true, 'cx-vui-collapse--collapsed': 'collapsed' === this.state }"
	v-if="isVisible()"
>
	<div
		class="cx-vui-collapse__heading"
		@click="switchState"
	>
		<span :class="[ 'cx-vui-collapse__heading-icon', 'dashicons', this.iconArrow ]"></span>
		<slot name="title"></slot>
	</div>
	<div class="cx-vui-collapse__content">
		<slot name="content"></slot>
	</div>
</div>