Copyright | (C) 2016-2025 David M. Johnson |
---|---|
License | BSD3-style (see the file LICENSE) |
Maintainer | David M. Johnson <[email protected]> |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
Miso.Event.Types
Description
Documentation
Type useful for both KeyCode and additional key press information.
Constructors
KeyInfo | |
Type used for Keyboard events.
Type used for Checkbox events.
Options for handling event propagation.
Constructors
Options | |
Fields |
Instances
Generic Options Source # | |||||
Defined in Miso.Event.Types Associated Types
| |||||
Show Options Source # | |||||
Eq Options Source # | |||||
ToJSVal Options Source # | |||||
type Rep Options Source # | |||||
Defined in Miso.Event.Types type Rep Options = D1 ('MetaData "Options" "Miso.Event.Types" "miso-1.8.7.0-ApFf5miZaZXFH70WSWqfvg" 'False) (C1 ('MetaCons "Options" 'PrefixI 'True) (S1 ('MetaSel ('Just "preventDefault") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "stopPropagation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool))) |
defaultOptions :: Options Source #
Default value for Options
.
defaultOptions = Options { preventDefault = False, stopPropagation = False }
Related to using drop-related events
defaultEvents :: Map MisoString Bool Source #
Default delegated events