diff options
| author | LLLL Colonq <llll@colonq> | 2025-02-18 00:33:43 -0500 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2025-02-18 00:33:43 -0500 |
| commit | 12a8b6bb63ab52cd4828f16d26d94079fa576436 (patch) | |
| tree | e5bc3783d8e9f17c5653aacb4576bda63a337dcb /src/Main | |
| parent | d03675f9effa443811f054578f7c24e17adbd6dc (diff) | |
Add throwshade
Diffstat (limited to 'src/Main')
| -rw-r--r-- | src/Main/Throwshade.purs | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/Main/Throwshade.purs b/src/Main/Throwshade.purs new file mode 100644 index 0000000..ad1ad2c --- /dev/null +++ b/src/Main/Throwshade.purs @@ -0,0 +1,18 @@ +module Main.Throwshade where + +import Prelude + +import Effect (Effect) +import Effect.Class (liftEffect) +import Effect.Console (log) +import UI (setShader) +import Utils (byId, getTextArea, listen) + +main :: Effect Unit +main = do + liftEffect $ log "hello it is throwshade" + input <- byId "lcolonq-throwshade-textarea" + test <- byId "lcolonq-throwshade-button-test" + listen test "click" \_ -> do + s <- getTextArea input + setShader s |
