Skip to content

Carousel view

Attributes

The carouselview element supports the following attributes:

Attribute Type Default Description
autostep PositiveDecimal | None none Either the number of seconds after which the carousel view will automatically go to the next group view or the special value "none", which means that the carousel will not change the active group view automatically.
fixedheight xs:boolean true Whether or not the height of the carousel should be fixed to the maximum of the height of its children. If this attribute is set to false, the height of the carousel changes dynamically depending on the active child.
indicator CarouselIndicatorType dots The type of indicator of this carousel view. The indicator of a carousel view is positioned below or above the active container and shows the user how many items are available in the carousel and which one is active.
label xs:string - Custom label for this container, overriding any automatically generated label.
loop xs:boolean false Whether or not the sequence of group views should be wrapped to a loop for the user, starting with the first one again after the last one.
name xs:Name - Name of this container, must be unique among all names in this course variant.
tags TokenList Whitespace-separated list of tags for this container.