wp_back/wp-content/plugins/smart-slider-3/Nextend/SmartSlider3/Parser/Link/SlideEvent.php
2024-05-20 15:37:46 +03:00

18 lines
359 B
PHP

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