<?php
/**
 * @package DJ-Catalog2-Yootheme
 * @copyright Copyright (C) DJ-Extensions.com, All rights reserved.
 * @license http://www.gnu.org/licenses GNU/GPL
 * @author url: http://dj-extensions.com
 * @author email contact@dj-extensions.com
 */
defined('_JEXEC') or die;
$el = $this->el('div', [

	'class' =>  $this->expr([
		'djc_wishlist',
		'uk-panel',
		'uk-margin[-{wishlist_margin}]-top {@!wishlist_margin: remove}',
		'uk-margin-remove-top {@wishlist_margin: remove}',
		'uk-margin-remove-bottom',
		'uk-inline {@position_inline_wishlist}' => ['position_inline_wishlist' => $element['position_inline_wishlist']],
	], $element),
]);

//Style position && size of an element
$el->attr('style', [
	'position:{position_wishlist};' => ['position_wishlist' => $element['position_wishlist']],
	'left: {position_left_wishlist}px;' => ['position_left_wishlist' => $element['position_left_wishlist']],
	'right: {position_right_wishlist}px;' => ['position_right_wishlist' => $element['position_right_wishlist']],
	'top: {position_top_wishlist}px;' => ['position_top_wishlist' => $element['position_top_wishlist']],
	'bottom: {position_bottom_wishlist}px;' => ['position_bottom_wishlist' => $element['position_bottom_wishlist']],
	'z-index:{position_z_index_wishlist};' => ['position_z_index_wishlist' => $element['position_z_index_wishlist']],
	'width:{wishlist_width};' => ['wishlist_width' => $element['wishlist_width']],
	'height:{wishlist_height};' => ['wishlist_height' => $element['wishlist_height']],

], $element);

echo $el($props, $attrs, $props['wishlist']);
