Module

Clappr.Plugins.Thumbnails

Package
purescript-clappr
Repository
paluh/purescript-clappr

#Thumbnail Source

type Thumbnail = { time :: Int, url :: String }

#Options Source

type Options = { backdropHeight :: Maybe Int, spotlightHeight :: Maybe Int, thumbs :: Array Thumbnail }

#NativeOptions Source

type NativeOptions = { backdropHeight :: Nullable Int, spotlightHeight :: Nullable Int, thumbs :: Array Thumbnail }

#NativeOptionsRow Source

type NativeOptionsRow r = (scrubThumbnails :: NativeOptions | r)

#setup Source

setup :: forall r. Lacks "scrubThumbnails" r => Options -> NativeOptions r -> NativeOptions (NativeOptionsRow r)