---------------
------------------------------------------------------------------------------

-- Keygen is likely to be removed from HTML 5.2.
-- Thus, we don't have it here.

------
inputC ∷ (DomBuilder t m, PostBuild t m) ⇒ Input → m () → m (Event t ())
inputC bm children = do
  (e,_) ← elAttr' "input" (A.attrMap bm) children
  return $ domEvent Click e
inputC bm children = do
  (e,_) ← elAttr' "input" (A.attrMap bm) children
  return $ domEvent Click e