Module
OutWatch.Dom.EmitterBuilder
- Package
- purescript-outwatch
- Repository
- OutWatch/purescript-outwatch
#EventEmitterBuilder Source
#InputEmitterBuilder Source
#MouseEmitterBuilder Source
#DragEmitterBuilder Source
#KeyEmitterBuilder Source
#StringEmitterBuilder Source
#BoolEmitterBuilder Source
#NumberEmitterBuilder Source
#GenericMappedEmitterBuilder Source
newtype GenericMappedEmitterBuilder a b eff
Constructors
GenericMappedEmitterBuilder { constructor :: Observer eff b -> Emitter eff, mapping :: b -> a }
Instances
EmitterBuilder (GenericMappedEmitterBuilder a b e) a e
#WithLatestFromEmitterBuilder Source
newtype WithLatestFromEmitterBuilder a
Constructors
WithLatestFromEmitterBuilder { event :: String, stream :: Observable a }
Instances
#WithLatestFromBuilder Source
class WithLatestFromBuilder builder a | builder -> a where
Members
override :: builder -> Observable a -> WithLatestFromEmitterBuilder a
Instances
WithLatestFromBuilder EventEmitterBuilder a
WithLatestFromBuilder InputEmitterBuilder a
WithLatestFromBuilder StringEmitterBuilder a
WithLatestFromBuilder MouseEmitterBuilder a
WithLatestFromBuilder DragEmitterBuilder a
WithLatestFromBuilder KeyEmitterBuilder a
WithLatestFromBuilder NumberEmitterBuilder a
WithLatestFromBuilder BoolEmitterBuilder a
#MappableBuilder Source
class MappableBuilder builder a b eff | builder -> eff, builder -> b where
Members
mapE :: builder -> (b -> a) -> GenericMappedEmitterBuilder a b eff
Instances
MappableBuilder EventEmitterBuilder a Event e
MappableBuilder InputEmitterBuilder a InputEvent e
MappableBuilder StringEmitterBuilder a String e
MappableBuilder MouseEmitterBuilder a MouseEvent e
MappableBuilder DragEmitterBuilder a DragEvent e
MappableBuilder KeyEmitterBuilder a KeyboardEvent e
MappableBuilder NumberEmitterBuilder a Number e
MappableBuilder BoolEmitterBuilder a Boolean e
#EmitterBuilder Source
class EmitterBuilder builder a eff | builder -> eff, builder -> a where
Members
Instances
EmitterBuilder (GenericMappedEmitterBuilder a b e) a e
EmitterBuilder (WithLatestFromEmitterBuilder a) a e
EmitterBuilder EventEmitterBuilder Event e
EmitterBuilder InputEmitterBuilder InputEvent e
EmitterBuilder MouseEmitterBuilder MouseEvent e
EmitterBuilder DragEmitterBuilder DragEvent e
EmitterBuilder KeyEmitterBuilder KeyboardEvent e
EmitterBuilder StringEmitterBuilder String e
EmitterBuilder BoolEmitterBuilder Boolean e
EmitterBuilder NumberEmitterBuilder Number e
EmitterBuilder InsertHookBuilder Element e
EmitterBuilder DestroyHookBuilder Element e
EmitterBuilder UpdateHookBuilder (Tuple Element Element) e