Class TbScrollSpy
Bootstrap scrollspy widget.
- CComponent
-
CBaseController
-
CWidget
-
TbScrollSpy
Copyright: Copyright © Christoffer Niska 2012-
License: New BSD License
Author: Christoffer Niska <ChristofferNiska@gmail.com>
See: http://twitter.github.com/bootstrap/javascript.html#scrollspy
Located at crisu83/yii-bootstrap/widgets/TbScrollSpy.php
Methods summary
public
|
Methods inherited from CWidget
__construct(),
actions(),
getController(),
getId(),
getOwner(),
getViewFile(),
getViewPath(),
init(),
render(),
setId()
Methods inherited from CBaseController
beginCache(),
beginClip(),
beginContent(),
beginWidget(),
createWidget(),
endCache(),
endClip(),
endContent(),
endWidget(),
renderFile(),
renderInternal(),
widget()
Methods inherited from CComponent
__call(),
__get(),
__isset(),
__set(),
__unset(),
asa(),
attachBehavior(),
attachBehaviors(),
attachEventHandler(),
canGetProperty(),
canSetProperty(),
detachBehavior(),
detachBehaviors(),
detachEventHandler(),
disableBehavior(),
disableBehaviors(),
enableBehavior(),
enableBehaviors(),
evaluateExpression(),
getEventHandlers(),
hasEvent(),
hasEventHandler(),
hasProperty(),
raiseEvent()
Magic methods summary
Properties summary
public
string
|
$selector |
#
the CSS selector for the scrollspy element. Defaults to 'body'. |
public
string
|
$target |
#
the CSS selector for the spying element. |
public
integer
|
$offset |
#
the scroll offset (in pixels). |
public
array
|
$events |
#
string[] the Javascript event handlers. |
Properties inherited from CWidget
$actionPrefix,
$skin
Magic properties inherited from CWidget
$controller,
$id,
$owner,
$viewPath