Module

Pux.ECharts

Package
purescript-pux-echarts
Repository
tweag/purescript-pux-echarts

#Effects Source

type Effects eff = (avar :: AVAR, dom :: DOM, echarts :: ECHARTS, exception :: EXCEPTION, ref :: REF | eff)

#State Source

type State = { chart :: Maybe Chart, chartId :: ElementId, height :: Int, options :: DSL OptionI, width :: Int }

#view Source

view :: forall e. State -> HTML e

Creates a container which will subsequently be modified effectfully.

#foldp Source

foldp :: forall fx. Event -> State -> EffModel State Event (Effects fx)