logo

Carousel

Examples

Carousel API#

Property Description Type Default Value
ChildContent ParameterContent of the carousel. Typically CarouselSlick elements RenderFragment --
DotPosition ParameterThe position of the dots, which can be one of Top, Bottom, Left or Right, CarouselDotPosition String --
Autoplay ParameterWhether to scroll automatically TimeSpan --
Effect ParameterTransition effect, CarouselEffect String --
Dots Parameter Boolean --
DotsClass Parameter String --
Id ParameterID for the component's HTML String Uniquely Generated ID
Class ParameterSpecifies one or more class names for an DOM element. String --
Style ParameterSpecifies an inline style for a DOM element. String --
RefBack ParameterA ForwardRef instance. You can get a reference to the internal DOM by using AntDesign.ForwardRef.Current. ForwardRef --
Method Signature Return Type Description
Next() void Slides the carousel to the next slide
Previous() void Slides the carousel to the previous slide
GoTo(Int32 index) void Slides the carousel to the specified slide

CarouselSlick API#

Property Description Type Default Value
ChildContent ParameterContent to display when on this part of the carousel RenderFragment --
Id ParameterID for the component's HTML String Uniquely Generated ID
RefBack ParameterA ForwardRef instance. You can get a reference to the internal DOM by using AntDesign.ForwardRef.Current. ForwardRef --
Card Collapse
文档已更新,请点击 此处 更新。
A new version of this app is available. Click here to update.