NoRedInk/noredink-ui/28.3.0

NOTE: the latest version is 35.9.3

Nri.Ui.Header.V1

Changelog

Patch

  • reduced the top-padding on the description from 20 to 5px

Major release adjustments

  • removed extraSubheadContent
List (Attribute route msg)
-> { breadCrumbs : BreadCrumbs route
, isCurrentRoute : route -> Bool
}
-> Html msg
type Attribute route msg

Customize the header

aTagAttributes : (route -> List (Attribute msg)) -> Attribute route msg
customPageWidth : Px -> Attribute route msg

By default, the content within the header will expand up to 1000px (the mobile breakpoint value).

For some views, you may want to use MediaQuery.quizEngineBreakpoint instead.

Add additional content to the header

extraContent : List (Html msg) -> Attribute route msg
description : String -> Attribute route msg
extraNav : String -> List (Html msg) -> Attribute route msg

Modules