kalutheo/elm-ui-explorer/9.0.0

NOTE: the latest version is 9.1.0

UIExplorer.Plugins.Knobs

Knobs

This plugin allows to make stories that are controbale with UI Inputs.

See usage here

Model a b { c | knobs : Bool }
-> ( Model a b { c | knobs : Bool }
-> { c | knobs : Bool }
-> Html msg
)
-> Html msg

Knobs view enhancer

{ d | customModel : c }
-> (Control a -> b)
-> (c -> Control a)
-> Html (Msg b)

Display the Controls -

{ b | customModel : a }
-> c
-> (c -> a)
-> ( { b | customModel : a }, Cmd msg )

Update for knobs model -