mind-gym/elements/4.6.0

NOTE: the latest version is 5.4.2

MG.Content

Text Content

{ viewport : Viewport
, contents :
List
{ highlight : Maybe String
, rest : Element msg
}
}
-> Element msg

A simple bullet list. highlight is an optional highlighted string to start the item, and rest is the rest of the item.

{ viewport : Viewport
, text : String
}
-> Element msg
{ viewport : Viewport
, text : String
}
-> Element msg
{ viewport : Viewport
, paragraph : List (Element msg)
}
-> Element msg
{ viewport : Viewport
, title : String
}
-> Element msg
{ viewport : Viewport
, title : String
, content : List (Element msg)
}
-> Element msg

We regularly find ourselves wanting to group titles and a paragraph, which is what this element is for.

Misc.

{ viewport : Viewport
, totalSteps : Int
, currentStep : Int
}
-> Element msg

A progress bar that fills from left to right.