Safe Haskell | None |
---|---|
Language | Haskell2010 |
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 #
Instances
GShow EventType Source # | |
Defined in Myxine.Internal.Event 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 # | |
DragEvent | |
|
data FocusEvent Source #
Instances
Eq FocusEvent Source # | |
Defined in Myxine.Internal.Event (==) :: FocusEvent -> FocusEvent -> Bool # (/=) :: FocusEvent -> FocusEvent -> Bool # | |
Ord FocusEvent Source # | |
Defined in Myxine.Internal.Event 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 showsPrec :: Int -> FocusEvent -> ShowS # show :: FocusEvent -> String # showList :: [FocusEvent] -> ShowS # | |
FromJSON FocusEvent Source # | |
Defined in Myxine.Internal.Event parseJSON :: Value -> Parser FocusEvent # parseJSONList :: Value -> Parser [FocusEvent] # |
data HashChangeEvent Source #
Instances
Eq HashChangeEvent Source # | |
Defined in Myxine.Internal.Event (==) :: HashChangeEvent -> HashChangeEvent -> Bool # (/=) :: HashChangeEvent -> HashChangeEvent -> Bool # | |
Ord HashChangeEvent Source # | |
Defined in Myxine.Internal.Event 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 showsPrec :: Int -> HashChangeEvent -> ShowS # show :: HashChangeEvent -> String # showList :: [HashChangeEvent] -> ShowS # | |
FromJSON HashChangeEvent Source # | |
Defined in Myxine.Internal.Event parseJSON :: Value -> Parser HashChangeEvent # parseJSONList :: Value -> Parser [HashChangeEvent] # |
data InputEvent Source #
Instances
Eq InputEvent Source # | |
Defined in Myxine.Internal.Event (==) :: InputEvent -> InputEvent -> Bool # (/=) :: InputEvent -> InputEvent -> Bool # | |
Ord InputEvent Source # | |
Defined in Myxine.Internal.Event 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 showsPrec :: Int -> InputEvent -> ShowS # show :: InputEvent -> String # showList :: [InputEvent] -> ShowS # | |
FromJSON InputEvent Source # | |
Defined in Myxine.Internal.Event parseJSON :: Value -> Parser InputEvent # parseJSONList :: Value -> Parser [InputEvent] # |
data KeyboardEvent Source #
Instances
Eq KeyboardEvent Source # | |
Defined in Myxine.Internal.Event (==) :: KeyboardEvent -> KeyboardEvent -> Bool # (/=) :: KeyboardEvent -> KeyboardEvent -> Bool # | |
Ord KeyboardEvent Source # | |
Defined in Myxine.Internal.Event 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 showsPrec :: Int -> KeyboardEvent -> ShowS # show :: KeyboardEvent -> String # showList :: [KeyboardEvent] -> ShowS # | |
FromJSON KeyboardEvent Source # | |
Defined in Myxine.Internal.Event parseJSON :: Value -> Parser KeyboardEvent # parseJSONList :: Value -> Parser [KeyboardEvent] # |
data MouseEvent Source #
MouseEvent | |
|
Instances
Eq MouseEvent Source # | |
Defined in Myxine.Internal.Event (==) :: MouseEvent -> MouseEvent -> Bool # (/=) :: MouseEvent -> MouseEvent -> Bool # | |
Ord MouseEvent Source # | |
Defined in Myxine.Internal.Event 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 showsPrec :: Int -> MouseEvent -> ShowS # show :: MouseEvent -> String # showList :: [MouseEvent] -> ShowS # | |
FromJSON MouseEvent Source # | |
Defined in Myxine.Internal.Event parseJSON :: Value -> Parser MouseEvent # parseJSONList :: Value -> Parser [MouseEvent] # |
data WheelEvent Source #
WheelEvent | |
|
Instances
Eq WheelEvent Source # | |
Defined in Myxine.Internal.Event (==) :: WheelEvent -> WheelEvent -> Bool # (/=) :: WheelEvent -> WheelEvent -> Bool # | |
Ord WheelEvent Source # | |
Defined in Myxine.Internal.Event 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 showsPrec :: Int -> WheelEvent -> ShowS # show :: WheelEvent -> String # showList :: [WheelEvent] -> ShowS # | |
FromJSON WheelEvent Source # | |
Defined in Myxine.Internal.Event parseJSON :: Value -> Parser WheelEvent # parseJSONList :: Value -> Parser [WheelEvent] # |