for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Ajax\semantic\components;
use Ajax\common\components\SimpleExtComponent;
use Ajax\JsUtils;
class Accordion extends SimpleExtComponent {
public function __construct(JsUtils $js) {
parent::__construct($js);
$this->uiName="accordion";
}
/**
*
* @param string $value default : click
* @return $this
*/
public function setOn($value="click") {
return $this->setParam("on", $value);
//TODO other events implementation