NoRedInk/noredink-ui/7.8.0

NOTE: the latest version is 35.9.3

Nri.Ui.SlideModal.V1

type alias Config msg =
{ panels : List (Panel msg)
, height : Vh
, parentMsg : State -> msg
}
type alias Panel msg =
{ icon : Html Never
, title : String
, content : Html msg
, 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).

Modules