public $defaultZIndex = 30;
public $allowsAnimation = true;
public $interactive = false;
+ public $forceTexture = false;
public function getHTMLContainerClass()
{
$res .= ' data-animation-hide-on-leave ';
}
}
+ if ($this->forceTexture && $this->getDepth() >= 40) {
+ $res .= ' data-force-texture="1" ';
+ }
return $res;
}
{
public $interactive = true;
public $defaultZIndex = 70;
+ public $forceTexture = true;
public function getHTMLContent()
{
$this->copyExternalFile($this->to);
$this->copyExternalFile($this->alternative);
- $res='<a href="#" '.$this->getTooltipAttribute().'></a>';
+ $res = '<a href="#" ' . $this->getTooltipAttribute() . '></a>';
$res .= '<div class="flipcard">';
$res .= '<div class="front"><img src="' . wsHTML5Link::getUniversalLocation($this->to) . '"></div>';
$res .= '<div class="back"><img src="' . wsHTML5Link::getUniversalLocation($this->alternative) . '"></div>';