phpMv  -UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
Scrollspy.php
Go to the documentation of this file.
1 <?php
2 
4 
5 use Ajax\JsUtils;
7 
14 
15  public function __construct(JsUtils $js) {
16  parent::__construct($js);
17  $this->uiName="scrollspy";
18  }
19 
20  /*
21  * (non-PHPdoc)
22  * @see \Ajax\common\components\SimpleComponent::attach()
23  */
24  public function attach($identifier) {
25  parent::attach($identifier);
26  }
27 
28  public function setTarget($target) {
29  $this->setParam("target", $target);
30  }
31 
32  public function onActivate($jsCode) {
33  $this->addEvent("activate.bs.scrollspy", $jsCode);
34  }
35 }
Composant Twitter Bootstrap Scrollspy.
Definition: Scrollspy.php:13
JQuery PHP library.
Definition: JsUtils.php:23