NoRedInk/noredink-ui/6.29.0

NOTE: the latest version is 35.9.3

Unavailable. Nobody can download this version any more, with elm or with the Lamdera compiler: Software Heritage not asked yet (this run's --swh-calls were used up); no fork with tag 6.29.0 found (15 same-name repos checked); no cached copy. Use another version.

Details

Nri.Ui.TextArea.V3

Upgrading to V3

  • Do nothing! (This just uses new elm-css styles)

The Nri styleguide-specified textarea with overlapping label

view : Model msg -> Html msg
writing : Model msg -> Html msg

Used for Writing Cycles

contentCreation : Model msg -> Html msg

Used for Content Creation

type Height
= DefaultHeight
| SingleLine

For specifying the actual height.

= Fixed
| AutoResize Height

Control whether to auto-expand the height.

type alias Model msg =
{ value : String
, autofocus : Bool
, onInput : String -> msg
, isInError : Bool
, height : HeightBehavior
, placeholder : String
, label : String
, showLabel : Bool
}
generateId : String -> String