kalutheo/elm-ui-explorer/9.0.0

NOTE: the latest version is 9.1.0

UIExplorer.Plugins.Tabs

Tabs

This plugin allows to display a Tabs below your stories.

See usage here

type alias Model =
{ displayedTab : Int }

Model of the tab

type Msg
= TabOpened Int

Messages triggered by the tab

initialModel : Model

The initial Model used to initialize the tab

update : Msg -> Model -> Model

Use this update function to update the tab

ColorMode
-> { b | displayedTab : Int }
-> List ( String, Html (Msg a), Html (Msg a) )
-> (Msg -> a)
-> Html (Msg a)

display the tab with this function