AnyLumino
API referenceastryxsurfaces

Carousel

Scroll child widgets horizontally in an Astryx carousel.

Notes

Functions

constructor__init__(children=None, *, gap=1, buttons=None, edge_fade=None, snap=None, padding=None, **props) -> None
paramchildrenChildInput
= None

Child widget, sequence of widgets, or mapping of slot names to widgets.

paramgapint | float
= 1

Astryx spacing step between children.

parambuttonsbool | None
= None

Whether to show the previous and next controls.

paramedge_fadebool | None
= None

Whether to fade content at the scroll edges.

paramsnapbool | None
= None

Whether scrolling snaps to each child.

parampaddingint | float | None
= None

Inner padding using the Astryx spacing scale.

parampropsAny
= {}

Returns

None

On this page