mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-18 10:07:02 +00:00
ui: Initial Elm UI import
Merged from https://github.com/jhillyerd/inbucket-elm Uses https://github.com/halfzebra/create-elm-app
This commit is contained in:
13
ui/src/Ports.elm
Normal file
13
ui/src/Ports.elm
Normal file
@@ -0,0 +1,13 @@
|
||||
port module Ports exposing (onSessionChange, storeSession, windowTitle)
|
||||
|
||||
import Data.Session exposing (Persistent)
|
||||
import Json.Encode exposing (Value)
|
||||
|
||||
|
||||
port onSessionChange : (Value -> msg) -> Sub msg
|
||||
|
||||
|
||||
port storeSession : Persistent -> Cmd msg
|
||||
|
||||
|
||||
port windowTitle : String -> Cmd msg
|
||||
Reference in New Issue
Block a user