Skip to content

Commit

Permalink
add save button for catpure, #55
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonLab committed Dec 13, 2019
1 parent 94a986c commit 9681363
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions assets/src/Main.elm
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
module Main exposing (main)

import Browser
import Html exposing (Html, div, text, textarea)
import Html exposing (Html, button, div, text, textarea)
import Html.Events exposing (onInput)

import Html.Attributes exposing (class)

main =
Browser.element
Expand Down Expand Up @@ -64,4 +64,5 @@ view : Model -> Html Msg
view model =
div []
[ textarea [ onInput Capture ] []
, button [class "db"] [ text "Save capture" ]
]

0 comments on commit 9681363

Please sign in to comment.