Copyright | (C) 2016-2018 David M. Johnson |
---|---|
License | BSD3-style (see the file LICENSE) |
Maintainer | David M. Johnson <djohnson.m@gmail.com> |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
Documentation
Type used for Keyboard events.
See https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/keyCode#Browser_compatibility
Type used for Checkbox events.
Options for handling event propagation.
Instances
Eq Options Source # | |
Show Options Source # | |
Generic Options Source # | |
type Rep Options Source # | |
Defined in Miso.Event.Types type Rep Options = D1 (MetaData "Options" "Miso.Event.Types" "miso-1.4.0.0-Jiwhvcvi2toNalPLPB3t6" 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