We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Clipboard
1 parent b825e84 commit f54c458Copy full SHA for f54c458
src/Miso/Event/Types.hs
@@ -36,6 +36,7 @@ module Miso.Event.Types
36
, dragEvents
37
, pointerEvents
38
, mediaEvents
39
+ , clipboardEvents
40
) where
41
-----------------------------------------------------------------------------
42
import Data.Aeson (FromJSON(..), withText)
@@ -220,3 +221,11 @@ mediaEvents = M.fromList
220
221
, ("waiting", True)
222
]
223
224
+-- | Clipboard events
225
+clipboardEvents :: Events
226
+clipboardEvents = M.fromList
227
+ [ ("cut", False)
228
+ , ("copy", False)
229
+ , ("paste", False)
230
+ ]
231
+-----------------------------------------------------------------------------
0 commit comments