phpMv
-UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
Loading...
Searching...
No Matches
Scrollspy.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Ajax\bootstrap\components
;
4
5
use
Ajax\JsUtils
;
6
use
Ajax\common\components\SimpleExtComponent
;
7
13
class
Scrollspy
extends
SimpleExtComponent
{
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
}
Ajax\JsUtils
JQuery PHP library.
Definition
JsUtils.php:23
Ajax\bootstrap\components\Scrollspy
Composant Twitter Bootstrap Scrollspy.
Definition
Scrollspy.php:13
Ajax\bootstrap\components\Scrollspy\attach
attach($identifier)
Definition
Scrollspy.php:24
Ajax\bootstrap\components\Scrollspy\onActivate
onActivate($jsCode)
Definition
Scrollspy.php:32
Ajax\bootstrap\components\Scrollspy\setTarget
setTarget($target)
Definition
Scrollspy.php:28
Ajax\bootstrap\components\Scrollspy\__construct
__construct(JsUtils $js)
Definition
Scrollspy.php:15
Ajax\common\components\BaseComponent\$js
$js
Definition
BaseComponent.php:20
Ajax\common\components\BaseComponent\setParam
setParam($key, $value)
Definition
BaseComponent.php:35
Ajax\common\components\SimpleExtComponent
Definition
SimpleExtComponent.php:7
Ajax\common\components\SimpleExtComponent\addEvent
addEvent($event, $jsCode)
Definition
SimpleExtComponent.php:11
Ajax\bootstrap\components
Definition
Carousel.php:3
Ajax
bootstrap
components
Scrollspy.php
Generated on Sun Dec 10 2023 16:15:51 for
phpMv-UI
by
doxygen
1.9.8