Module

Clappr

Package
purescript-clappr
Repository
paluh/purescript-clappr

#Clappr Source

data Clappr :: Type

#CLAPPR Source

data CLAPPR :: Effect

#Plugin Source

data Plugin :: Type

#OptionsBase Source

type OptionsBase o = { baseUrl :: Maybe String, source :: String | o }

This base config is reused by Pux/React bindings

#Options Source

type Options = OptionsBase (parent :: Parent)

Change parent so it could be only HTMLElement

#clappr Source

clappr :: forall r eff. NativeOptions r -> Eff (clappr :: CLAPPR, dom :: DOM, exception :: EXCEPTION | eff) Clappr

#NativeOptionsRow Source

type NativeOptionsRow r = (baseUrl :: Nullable String, parent :: Nullable HTMLElement, parentId :: Nullable String, plugins :: Array Plugin, source :: String | r)

#NativeOptions Source

#clapprImpl Source

clapprImpl :: forall p eff. EffFn1 (clappr :: CLAPPR, dom :: DOM, exception :: EXCEPTION | eff) (NativeOptions p) Clappr