Skip to content

Commit

Permalink
Implement "dialog" form method value (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hi-Angel authored Oct 6, 2024
1 parent b3a93b8 commit 8e0c535
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/DOM/HTML/Indexed/FormMethod.purs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import Prelude
data FormMethod
= POST
| GET
| Dialog

derive instance eqFormMethod :: Eq FormMethod
derive instance ordFormMethod :: Ord FormMethod
Expand All @@ -13,3 +14,4 @@ renderFormMethod :: FormMethod -> String
renderFormMethod = case _ of
POST -> "post"
GET -> "get"
Dialog -> "dialog"

0 comments on commit 8e0c535

Please sign in to comment.