miso-0.13.0.0: A tasty Haskell front-end framework

Copyright(C) 2016-2018 David M. Johnson
LicenseBSD3-style (see the file LICENSE)
MaintainerDavid M. Johnson <djohnson.m@gmail.com>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Miso.Event.Types

Description

 

Synopsis

Documentation

data Options Source #

Options for handling event propagation.

Constructors

Options 

Instances

Eq Options Source # 

Methods

(==) :: Options -> Options -> Bool #

(/=) :: Options -> Options -> Bool #

Show Options Source # 
Generic Options Source # 

Associated Types

type Rep Options :: * -> * #

Methods

from :: Options -> Rep Options x #

to :: Rep Options x -> Options #

type Rep Options Source # 
type Rep Options = D1 * (MetaData "Options" "Miso.Event.Types" "miso-0.13.0.0-7itwuVrXufCKGDWzVuViLq" False) (C1 * (MetaCons "Options" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "preventDefault") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Bool)) (S1 * (MetaSel (Just Symbol "stopPropagation") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Bool))))

defaultOptions :: Options Source #

Default value for Options.

defaultOptions = Options { preventDefault = False, stopPropagation = False }

newtype AllowDrop Source #

Related to using drop-related events

Constructors

AllowDrop Bool 

defaultEvents :: Map MisoString Bool Source #

Default delegated events