16 parent::__construct($js);
17 $this->uiName=
"carousel";
21 public function attach($identifier) {
22 parent::attach($identifier);
32 return $this->
setParam(
"interval", $value);
41 return $this->
setParam(
"pause", $event);
50 return $this->
setParam(
"wrap", $value);
59 return $this->
setParam(
"keyboard", $value);
68 return $this->
addEvent(
"slide.bs.carousel", $jsCode);
77 return $this->
addEvent(
"slid.bs.carousel", $jsCode);
onSlide($jsCode)
This event fires immediately when the slide instance method is invoked.
onSlid($jsCode)
This event is fired when the carousel has completed its slide transition.
setWrap($value=true)
Whether the carousel should cycle continuously or have hard stops.
setInterval($value=5000)
The amount of time to delay between automatically cycling an item.
Composant Twitter Bootstrap Carousel.
addEvent($event, $jsCode)
setKeyboard($value=true)
Whether the carousel should react to keyboard events.
setPause($event="hover")
Pauses the cycling of the carousel on mouseenter and resumes the cycling of the carousel on mouseleav...