Skip to content
IzzyBlazor

Enter all results ↑ ↓ move Esc close

Carousel

Since 0.1.0-alpha.21
Shows slides in a row that swipes and scrolls a slide at a time.

IzzyBlazor.Carousel in the IzzyBlazor.Core package, generated from the 0.1.0-alpha.31 assembly and its doc comments.

Properties (11)

Labelstring requiredAdded in 0.1.0-alpha.21

What the carousel shows, such as "Featured trips": its accessible name. Required.

@bind-Indexint = 0Added in 0.1.0-alpha.21 @bind: Interactive only

The slide in view (the first, when several show), from 0. Without @bind-Index, it's the slide the carousel starts on.

ItemsPerViewResponsive<int> = 1ResponsiveAdded in 0.1.0-alpha.21

How many slides show at once, per breakpoint. Defaults to 1.

GapResponsive<int> = 4ResponsiveAdded in 0.1.0-alpha.21

Space between slides, in spacing steps (0 to 16), per breakpoint. Defaults to 4.

Loopbool = falseAdded in 0.1.0-alpha.21

Wraps from the last slide to the first, and back.

Arrowsbool = trueAdded in 0.1.0-alpha.21

Shows the previous and next buttons. Defaults to true.

DotsCarouselDots = CarouselDots.AutoAdded in 0.1.0-alpha.21

Where the dots go, a dot for each slide (each page, with several in view): CarouselDots.Auto, the default, puts them on the slide when one shows at a time and below when several do. CarouselDots.Thumbnails shows a small picture for each slide in their place.

Autoplaybool = falseAdded in 0.1.0-alpha.21

Moves on a slide every Interval, from the last back to the first, with a button that stops and starts it. Needs script.

IntervalTimeSpan = TimeSpan.FromMilliseconds(5000)Added in 0.1.0-alpha.21

How long each slide shows with Autoplay. Defaults to 5 seconds. A CarouselItem can set its own.

TransitionCarouselTransition = CarouselTransition.SlideAdded in 0.1.0-alpha.21

How one slide gives way to the next: CarouselTransition.Slide, the default, or CarouselTransition.Fade, which shows one slide at a time and cross-fades.

ChildContentRenderFragment?Added in 0.1.0-alpha.21

Events (0)

No events.

Parts (1)

Components written inside Carousel, documented here with it.

CarouselItem

One slide of a Carousel. A group named "3 of 5", or by its Label.

Labelstring?Added in 0.1.0-alpha.21

Names the slide, such as "Lisbon". Without one, it's named by its place: "3 of 5".

IntervalTimeSpan?Added in 0.1.0-alpha.21

How long this slide shows with the carousel's Autoplay, in place of its Interval.

Thumbnailstring?Added in 0.1.0-alpha.24

The slide's small picture in the row under the slides, with the carousel's Dots="CarouselDots.Thumbnails". Without one, the row shows the slide's number.

DarkThumbnailstring?Added in 0.1.0-alpha.24

The Thumbnail for the dark scheme.

Idstring?Added in 0.1.0-alpha.21

The slide's id.

ChildContentRenderFragment?Added in 0.1.0-alpha.21

The slide's content.

Types (2)

CarouselDots

enum

Where a Carousel's dots go.

CarouselDots values
ValueDescription
Auto

On the slide when one shows at a time; below when several do.

Over

On the slide, at the bottom.

Below

Below the slides, across the carousel's width.

None

No dots.

Thumbnails

Below the slides, a small picture for each slide in place of a dot: each CarouselItem's Thumbnail. The row scrolls when it doesn't fit, and keeps the current one in view.

CarouselTransition

enum

How a Carousel's slides give way to each other.

CarouselTransition values
ValueDescription
Slide

The slides sit in a row that scrolls; several can show at once.

Fade

One slide shows at a time, and the next fades in over it.

Connection lost

Rejoining the server…