Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Synopsis
- data EventHandler a
- = OnKeyDown !a
- | OnKeyUp !a
- | OnKeyPress !a
- | OnFocus !a
- | OnBlur !a
- | OnValueChange !a
- | OnCheckedChange !a
- | OnSelectedChange !a
- | OnSubmit !a
- | OnClick !a
- | OnDoubleClick !a
- | OnMouseDown !a
- | OnMouseUp !a
- | OnMouseMove !a
- | OnMouseEnter !a
- | OnMouseLeave !a
- | OnMouseOver !a
- | OnMouseOut !a
- | OnScroll !a
- | OnWheel !a
- data CallbackAction a = CallbackAction (EventHandler a)
Documentation
data EventHandler a Source #
One specific and incomplete specifications of event-handlers geared towards their use with JS.
OnKeyDown !a | |
OnKeyUp !a | |
OnKeyPress !a | |
OnFocus !a | |
OnBlur !a | |
OnValueChange !a | |
OnCheckedChange !a | |
OnSelectedChange !a | |
OnSubmit !a | |
OnClick !a | |
OnDoubleClick !a | |
OnMouseDown !a | |
OnMouseUp !a | |
OnMouseMove !a | |
OnMouseEnter !a | |
OnMouseLeave !a | |
OnMouseOver !a | |
OnMouseOut !a | |
OnScroll !a | |
OnWheel !a |
Instances
Functor EventHandler Source # | |
fmap :: (a -> b) -> EventHandler a -> EventHandler b # (<$) :: a -> EventHandler b -> EventHandler a # | |
Data a => Data (EventHandler a) Source # | |
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> EventHandler a -> c (EventHandler a) # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (EventHandler a) # toConstr :: EventHandler a -> Constr # dataTypeOf :: EventHandler a -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (EventHandler a)) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (EventHandler a)) # gmapT :: (forall b. Data b => b -> b) -> EventHandler a -> EventHandler a # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> EventHandler a -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> EventHandler a -> r # gmapQ :: (forall d. Data d => d -> u) -> EventHandler a -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> EventHandler a -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> EventHandler a -> m (EventHandler a) # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> EventHandler a -> m (EventHandler a) # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> EventHandler a -> m (EventHandler a) # |
data CallbackAction a Source #
Instances
Data a => Data (CallbackAction a) Source # | |
gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CallbackAction a -> c (CallbackAction a) # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (CallbackAction a) # toConstr :: CallbackAction a -> Constr # dataTypeOf :: CallbackAction a -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (CallbackAction a)) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (CallbackAction a)) # gmapT :: (forall b. Data b => b -> b) -> CallbackAction a -> CallbackAction a # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CallbackAction a -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CallbackAction a -> r # gmapQ :: (forall d. Data d => d -> u) -> CallbackAction a -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> CallbackAction a -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> CallbackAction a -> m (CallbackAction a) # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CallbackAction a -> m (CallbackAction a) # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CallbackAction a -> m (CallbackAction a) # |