nixCodeX/elm-bootstrap/2.0.1

NOTE: the latest version is 3.1.1

Renamed to aDifferentJT/elm-bootstrap. That is where the repository lives now. It has not been published as a package under the new name.

Versions published as nixCodeX/elm-bootstrap still install under that name. 13 versions of 13 come from the new location (see their notes).

Rerouted (renamed, verified). The GitHub user or repository was renamed. The tag is still there, at the new name. The Lamdera package server serves a copy recovered from https://github.com/aDifferentJT/elm-bootstrap.

What we checked: The repo moved to github.com/aDifferentJT/elm-bootstrap. Rebuilt with git archive from commit 77a30ed727b0 of https://github.com/aDifferentJT/elm-bootstrap (zip prefix nixCodeX-elm-bootstrap-77a30ed/, America/Los_Angeles times): the zip is byte-identical to the one package.elm-lang.org recorded, SHA-1 d4637469f6c86d5f9055b35cec2e56a92970c868.

The Lamdera compiler uses this copy and prints a one-line notice saying so. elm itself fails to download this version.

Details · package.elm-lang.org's zip: https://github.com/nixCodeX/elm-bootstrap/zipball/2.0.1/

Bootstrap.Form.Range

This module allows you to create Bootstrap styled range inputs.

Creating

range : List (Option msg) -> Html msg

Create a range input.

Range.range
    [ Range.id "myRange"
    , Range.min "-10"
    , Range.max "10"
    , Range.onInput MyRangeMsg
    ]
type Range msg

Opaque composable type representing a Range.

Options

id : String -> Option msg

Set the id for the range.

min : String -> Option msg

Option to set the min value for the range.

max : String -> Option msg

Option to set the max value for the range.

step : String -> Option msg

Option to set the step value for the range.

value : String -> Option msg

Option to set the value for the range.

disabled : Bool -> Option msg

Option to disable the range

onInput : Maybe (String -> msg) -> Option msg

Shorthand for assigning an onInput handler for a range.

attrs : List (Attribute msg) -> Option msg

Use this function to handle any Html.Attribute option you wish for your range

type Option msg

Opaque type representing valid customization options for a radio