NoRedInk/noredink-ui/9.5.1

NOTE: the latest version is 35.9.3

Unavailable. Nobody can download this version any more, with elm or with the Lamdera compiler: Software Heritage not asked yet (this run's --swh-calls were used up); no fork with tag 9.5.1 found (15 same-name repos checked); no cached copy. Use another version.

Details

Nri.Ui.SlideModal.V2

type alias Config msg =
{ panels : List Panel
, height : Px
, parentMsg : State -> msg
}
type alias Panel =
{ icon : Html Never
, title : String
, content : Html Never
, buttonLabel : String
}

Configuration for a single modal view in the sequence of modal views.

type State

Close the modal.

Create the open state for the modal (the first panel will show).

view : Config msg -> State -> Html msg

View the modal (includes the modal backdrop).