lenards/elm-ui-patternfly/1.3.0

NOTE: the latest version is 4.0.2

PF4.Page

An appearance-oriented Page component

https://www.patternfly.org/v4/components/page

Definition

type Page msg

Opaque Page element

type PageSidebar msg

Opaque PageSidebar element

Constructor functions

{ title : String
, nav : Navigation msg
, body : List (Element msg)
}
-> Page msg

Constructs a Page with a title, nav and body (of sections)

Content function(s)

sections : List (Element msg) -> List (PageSection msg)

Adds a list of Element msg as sections to the page

Rendering stateless element

toMarkup : Page msg -> Element msg

Given the custom type representation, renders as an Element msg.