Safe Haskell | None |
---|---|
Language | Haskell2010 |
Myxine.Event
Description
These types are automatically generated from Myxine's master specification of supported events and interfaces, so they will always match those supported by the version of Myxine corresponding to the version of this library. However, Template Haskell does not allow programmatic generation of Haddock documentation, so we can't put proper inline documentation below.
To aid in your reference, note that the name of each type below exactly
matches the browser's name for events of that interface, and the names of
each interface's properties exactly match the browser's names for them,
except in the cases where those names are reserved keywords in Haskell. In
those cases, we prepend the name of the interface (for instance, we use the
property name inputData
instead of data
).
For more details on the meaning of each type below and its fields, refer to Myxine's documentation and/or the MDN web API documentation for events and their interfaces.
Documentation
data EventType :: Type -> Type where Source #
Constructors
Instances
GShow EventType Source # | |
Defined in Myxine.Internal.Event Methods gshowsPrec :: Int -> EventType a -> ShowS # | |
GEq EventType Source # | |
GCompare EventType Source # | |
Eq (EventType d) Source # | |
Ord (EventType d) Source # | |
Defined in Myxine.Internal.Event | |
Show (EventType d) Source # | |
Constructors
DragEvent | |
Fields
|
Instances
Eq DragEvent Source # | |
Ord DragEvent Source # | |
Show DragEvent Source # | |
FromJSON DragEvent Source # | |
Constructors
Event | |
data FocusEvent Source #
Constructors
FocusEvent | |
Instances
Eq FocusEvent Source # | |
Defined in Myxine.Internal.Event | |
Ord FocusEvent Source # | |
Defined in Myxine.Internal.Event Methods compare :: FocusEvent -> FocusEvent -> Ordering # (<) :: FocusEvent -> FocusEvent -> Bool # (<=) :: FocusEvent -> FocusEvent -> Bool # (>) :: FocusEvent -> FocusEvent -> Bool # (>=) :: FocusEvent -> FocusEvent -> Bool # max :: FocusEvent -> FocusEvent -> FocusEvent # min :: FocusEvent -> FocusEvent -> FocusEvent # | |
Show FocusEvent Source # | |
Defined in Myxine.Internal.Event Methods showsPrec :: Int -> FocusEvent -> ShowS # show :: FocusEvent -> String # showList :: [FocusEvent] -> ShowS # | |
FromJSON FocusEvent Source # | |
Defined in Myxine.Internal.Event |
data HashChangeEvent Source #
Constructors
HashChangeEvent | |
Instances
Eq HashChangeEvent Source # | |
Defined in Myxine.Internal.Event Methods (==) :: HashChangeEvent -> HashChangeEvent -> Bool # (/=) :: HashChangeEvent -> HashChangeEvent -> Bool # | |
Ord HashChangeEvent Source # | |
Defined in Myxine.Internal.Event Methods compare :: HashChangeEvent -> HashChangeEvent -> Ordering # (<) :: HashChangeEvent -> HashChangeEvent -> Bool # (<=) :: HashChangeEvent -> HashChangeEvent -> Bool # (>) :: HashChangeEvent -> HashChangeEvent -> Bool # (>=) :: HashChangeEvent -> HashChangeEvent -> Bool # max :: HashChangeEvent -> HashChangeEvent -> HashChangeEvent # min :: HashChangeEvent -> HashChangeEvent -> HashChangeEvent # | |
Show HashChangeEvent Source # | |
Defined in Myxine.Internal.Event Methods showsPrec :: Int -> HashChangeEvent -> ShowS # show :: HashChangeEvent -> String # showList :: [HashChangeEvent] -> ShowS # | |
FromJSON HashChangeEvent Source # | |
Defined in Myxine.Internal.Event Methods parseJSON :: Value -> Parser HashChangeEvent # parseJSONList :: Value -> Parser [HashChangeEvent] # |
data InputEvent Source #
Constructors
InputEvent | |
Instances
Eq InputEvent Source # | |
Defined in Myxine.Internal.Event | |
Ord InputEvent Source # | |
Defined in Myxine.Internal.Event Methods compare :: InputEvent -> InputEvent -> Ordering # (<) :: InputEvent -> InputEvent -> Bool # (<=) :: InputEvent -> InputEvent -> Bool # (>) :: InputEvent -> InputEvent -> Bool # (>=) :: InputEvent -> InputEvent -> Bool # max :: InputEvent -> InputEvent -> InputEvent # min :: InputEvent -> InputEvent -> InputEvent # | |
Show InputEvent Source # | |
Defined in Myxine.Internal.Event Methods showsPrec :: Int -> InputEvent -> ShowS # show :: InputEvent -> String # showList :: [InputEvent] -> ShowS # | |
FromJSON InputEvent Source # | |
Defined in Myxine.Internal.Event |
data KeyboardEvent Source #
Constructors
KeyboardEvent | |
Instances
Eq KeyboardEvent Source # | |
Defined in Myxine.Internal.Event Methods (==) :: KeyboardEvent -> KeyboardEvent -> Bool # (/=) :: KeyboardEvent -> KeyboardEvent -> Bool # | |
Ord KeyboardEvent Source # | |
Defined in Myxine.Internal.Event Methods compare :: KeyboardEvent -> KeyboardEvent -> Ordering # (<) :: KeyboardEvent -> KeyboardEvent -> Bool # (<=) :: KeyboardEvent -> KeyboardEvent -> Bool # (>) :: KeyboardEvent -> KeyboardEvent -> Bool # (>=) :: KeyboardEvent -> KeyboardEvent -> Bool # max :: KeyboardEvent -> KeyboardEvent -> KeyboardEvent # min :: KeyboardEvent -> KeyboardEvent -> KeyboardEvent # | |
Show KeyboardEvent Source # | |
Defined in Myxine.Internal.Event Methods showsPrec :: Int -> KeyboardEvent -> ShowS # show :: KeyboardEvent -> String # showList :: [KeyboardEvent] -> ShowS # | |
FromJSON KeyboardEvent Source # | |
Defined in Myxine.Internal.Event Methods parseJSON :: Value -> Parser KeyboardEvent # parseJSONList :: Value -> Parser [KeyboardEvent] # |
data MouseEvent Source #
Constructors
MouseEvent | |
Fields
|
Instances
Eq MouseEvent Source # | |
Defined in Myxine.Internal.Event | |
Ord MouseEvent Source # | |
Defined in Myxine.Internal.Event Methods compare :: MouseEvent -> MouseEvent -> Ordering # (<) :: MouseEvent -> MouseEvent -> Bool # (<=) :: MouseEvent -> MouseEvent -> Bool # (>) :: MouseEvent -> MouseEvent -> Bool # (>=) :: MouseEvent -> MouseEvent -> Bool # max :: MouseEvent -> MouseEvent -> MouseEvent # min :: MouseEvent -> MouseEvent -> MouseEvent # | |
Show MouseEvent Source # | |
Defined in Myxine.Internal.Event Methods showsPrec :: Int -> MouseEvent -> ShowS # show :: MouseEvent -> String # showList :: [MouseEvent] -> ShowS # | |
FromJSON MouseEvent Source # | |
Defined in Myxine.Internal.Event |
data WheelEvent Source #
Constructors
WheelEvent | |
Fields
|
Instances
Eq WheelEvent Source # | |
Defined in Myxine.Internal.Event | |
Ord WheelEvent Source # | |
Defined in Myxine.Internal.Event Methods compare :: WheelEvent -> WheelEvent -> Ordering # (<) :: WheelEvent -> WheelEvent -> Bool # (<=) :: WheelEvent -> WheelEvent -> Bool # (>) :: WheelEvent -> WheelEvent -> Bool # (>=) :: WheelEvent -> WheelEvent -> Bool # max :: WheelEvent -> WheelEvent -> WheelEvent # min :: WheelEvent -> WheelEvent -> WheelEvent # | |
Show WheelEvent Source # | |
Defined in Myxine.Internal.Event Methods showsPrec :: Int -> WheelEvent -> ShowS # show :: WheelEvent -> String # showList :: [WheelEvent] -> ShowS # | |
FromJSON WheelEvent Source # | |
Defined in Myxine.Internal.Event |