lucamug/style-framework/1.0.1

NOTE: the latest version is 1.1.0

Framework.Card

Demo

Cards

Cards

{ a
| activeFront : Bool
, back : Element msg
, front : Element msg
, height : Int
, width : Int
}
-> Element msg
simpleWithTitle : String -> String -> Element msg -> Element msg
simple : Element msg -> Element msg

Introspection

Used internally to generate the Style Guide

{ name : String
, description : String
, signature : String
, variations : List ( String, List ( Element msg1, String ) )
}
example1 : Bool -> ( Element Msg, String )
type alias Model =
Bool
type Msg
initModel : Model
update : Msg -> Model -> ( Model, Cmd Msg )