NoRedInk/noredink-ui/24.6.0

NOTE: the latest version is 35.9.3

Nri.Ui.Carousel.V1

Patch changes:

  • remove tooltip-related code that is never used for Carousel
{ focusAndSelect :
{ select : id
, focus : Maybe String
}
-> msg
, selected : id
, controlStyles : Bool -> List Style
, controlListStyles : List Style
, items : List (Item id msg)
}
-> { controls : Html msg
, slides : Html msg
}
type Item id msg
{ id : id
, idString : String
, slideHtml : Html msg
, controlHtml : Html Never
}
-> Item id msg

Builds an selectable item in the Caroursel

controlHtml represents the element that will appear in the list of options.

slideHtml represents the element that will be shown in your carousel when this item is selected.

Modules