PreviousSlide.php
365 Bytes
<?php
namespace Nextend\SmartSlider3\Parser\Link;
use Nextend\Framework\Parser\Link\ParserInterface;
class PreviousSlide implements ParserInterface {
public function parse($argument, &$attributes) {
$attributes['aria-role'] = 'button';
$attributes['onclick'] = "n2ss.applyActionWithClick(event, 'previous');";
return '#';
}
}