EngageSoftware/elm-engage-common/8.2.9

NOTE: the latest version is 8.2.10

Engage.UI.Dialog

UI.Dialog

type alias Attribute msg =
InternalAttribute msg -> InternalAttribute msg

The Attribute type

type State

The State type

cancelText : String -> Attribute msg

Get the cancelText message

-> State
-> List (Attribute msg)
-> List (Html msg)
-> Html msg

Get the confirm view

Hide the dialog

Get the initial State

okText : String -> Attribute msg

Get the okText message

onCancel : (State -> msg) -> Attribute msg

Get the onCancel message

onOk : (State -> msg) -> Attribute msg

Get the onOk message

show : State -> ( State, Task Error () )

Show the dialog