| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
THREE.EventDispatcher
Contents
Synopsis
- class (ToObject object, ToJSVal object) => EventDispatcher object where
- addEventListener :: Method object (MisoString, Function) ()
- hasEventListener :: Method object (MisoString, Function) ()
- removeEventListener :: Method object (MisoString, Function) ()
- dispatchEvent :: Method object Object ()
Types
class (ToObject object, ToJSVal object) => EventDispatcher object where Source #
Minimal complete definition
Nothing
Methods
addEventListener :: Method object (MisoString, Function) () Source #
Adds a listener to an event type.
hasEventListener :: Method object (MisoString, Function) () Source #
Checks if listener is added to an event type.
removeEventListener :: Method object (MisoString, Function) () Source #
Removes a listener from an event type.
dispatchEvent :: Method object Object () Source #
Dispatches an Event