Module
Clappr
- Package
- purescript-clappr
- Repository
- paluh/purescript-clappr
#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
#NativeOptionsRow Source
type NativeOptionsRow r = (baseUrl :: Nullable String, parent :: Nullable HTMLElement, parentId :: Nullable String, plugins :: Array Plugin, source :: String | r)
#NativeOptions Source
type NativeOptions r = Record (NativeOptionsRow r)
#clapprImpl Source
clapprImpl :: forall p eff. EffFn1 (clappr :: CLAPPR, dom :: DOM, exception :: EXCEPTION | eff) (NativeOptions p) Clappr
#toNativeOptions Source
toNativeOptions :: Options -> NativeOptions ()