Carousel
extends DivTag
in package
Description of Carousel.
Tags
Table of Contents
- $activeSlide : int
- $captions : array<string|int, mixed>
- $showCaptions : bool
- $showControls : bool
- $showIndicators : bool
- $slides : array<string|int, mixed>
- __construct() : mixed
- Carousel.
- addControls() : void
- Add Controls to Caruousel.
- addIndicators() : void
- addSlide() : void
- finalize() : void
Properties
$activeSlide
public
int
$activeSlide
= 0
$captions
public
array<string|int, mixed>
$captions
= []
$showCaptions
public
bool
$showCaptions
= false
$showControls
public
bool
$showControls
= false
$showIndicators
public
bool
$showIndicators
= false
$slides
public
array<string|int, mixed>
$slides
= []
Methods
__construct()
Carousel.
public
__construct([bool $controls = true ][, bool $indicators = true ][, bool $captions = true ][, array<string, string> $properties = [] ]) : mixed
Parameters
- $controls : bool = true
-
show controls ?
- $indicators : bool = true
-
show indicators ?
- $captions : bool = true
-
show captions ?
- $properties : array<string, string> = []
Return values
mixed —addControls()
Add Controls to Caruousel.
public
addControls() : void
Return values
void —addIndicators()
public
addIndicators() : void
Return values
void —addSlide()
public
addSlide(Embedable $content[, mixed $caption = '' ][, bool $active = false ]) : void
Parameters
- $content : Embedable
- $caption : mixed = ''
- $active : bool = false
Return values
void —finalize()
public
finalize() : void