phpMv  -UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
Slider.php
Go to the documentation of this file.
1 <?php
2 namespace Ajax\ui\components;
3 
4 use Ajax\JsUtils;
6 
13 class Slider extends SimpleComponent {
14 
15  public function __construct(JsUtils $js) {
16  parent::__construct($js);
17  $this->uiName = "slider";
18  $this->setParam("value", 0);
19  }
20 
21  public function onChange($jsCode) {
22  return $this->addEvent("change", $jsCode);
23  }
24 
25  public function onSlide($jsCode) {
26  return $this->addEvent("slide", $jsCode);
27  }
28 }
Base component for JQuery UI visuals components.
JQuery PHP library.
Definition: JsUtils.php:23
__construct(JsUtils $js)
Definition: Slider.php:15
Composant JQuery UI Slider.
Definition: Slider.php:13