Viewing File: /home/maglabs/lacentraleit/wp-content/themes/mlab/inc/options/fields/image-picker.php

<?php
defined( 'ABSPATH' ) or die();


/**
 * This class will be present an mediapicker control
 */
class MLab_Options_ImagePicker extends MLab_Options_Control
{
	/**
	 * The control type
	 * 
	 * @var  string
	 */
	public $type = 'image-picker';
	
	/**
	 * Render the control markup
	 * 
	 * @return  void
	 */
	public function render_content() {
		?>
			<div class="options-control-inputs">
				<image-upload v-bind:value="value" v-on:change="triggerChange" />
			</div>
		<?php
	}
}
Back to Directory File Manager