Module

InteractiveData.DataUIs.Variant

Package
purescript-interactive-data
Repository
thought2/purescript-interactive-data.all

#CfgVariant Source

type CfgVariant = { text :: Maybe String }

#mkSurface Source

mkSurface :: forall html msg. IDHtml html => { text :: Maybe String } -> ViewArgs (IDSurface html) msg -> IDSurface html msg

#variant Source

variant :: forall opt datauis html fm fs @initsym rcase rmsg rsta r. OptArgs CfgVariant opt => DataUiVariant datauis fm fs (IDSurface html) initsym rcase rmsg rsta r => IDHtml html => opt -> Record datauis -> DataUI (IDSurface html) fm fs (VariantMsg rcase rmsg) (VariantState rsta) (Variant r)

#variant_ Source

variant_ :: forall datauis html fm fs @initsym rcase rmsg rsta r. DataUiVariant datauis fm fs (IDSurface html) initsym rcase rmsg rsta r => IDHtml html => Record datauis -> DataUI (IDSurface html) fm fs (VariantMsg rcase rmsg) (VariantState rsta) (Variant r)

#view Source

view :: forall html msg. IDHtml html => ViewArgs html msg -> html msg

Re-exports from MVC.Variant

#VariantState Source

#VariantMsg Source

data VariantMsg :: Row Type -> Row Type -> Typedata VariantMsg rcase rmsg

Instances

Modules
InteractiveData
InteractiveData.App
InteractiveData.App.EnvVars
InteractiveData.App.FastForward.Inline
InteractiveData.App.FastForward.Standalone
InteractiveData.App.Routing
InteractiveData.App.Types
InteractiveData.App.UI.ActionButton
InteractiveData.App.UI.Assets
InteractiveData.App.UI.Body
InteractiveData.App.UI.Breadcrumbs
InteractiveData.App.UI.Card
InteractiveData.App.UI.DataLabel
InteractiveData.App.UI.Footer
InteractiveData.App.UI.Header
InteractiveData.App.UI.Layout
InteractiveData.App.UI.Menu
InteractiveData.App.UI.NotFound
InteractiveData.App.UI.SideBar
InteractiveData.App.UI.Types.SumTree
InteractiveData.App.WrapApp
InteractiveData.App.WrapData
InteractiveData.Class
InteractiveData.Class.Defaults
InteractiveData.Class.Defaults.Generic
InteractiveData.Class.Defaults.Record
InteractiveData.Class.Defaults.Variant
InteractiveData.Class.InitDataUI
InteractiveData.Class.Partial
InteractiveData.Core
InteractiveData.Core.Classes.IDHtml
InteractiveData.Core.Classes.OptArgs
InteractiveData.Core.FeatureFlags
InteractiveData.Core.Prelude
InteractiveData.Core.Types.Common
InteractiveData.Core.Types.DataAction
InteractiveData.Core.Types.DataPathExtra
InteractiveData.Core.Types.DataTree
InteractiveData.Core.Types.IDHtmlT
InteractiveData.Core.Types.IDOutMsg
InteractiveData.Core.Types.IDSurface
InteractiveData.Core.Types.IDViewCtx
InteractiveData.Core.Util.RecordProjection
InteractiveData.DataUIs
InteractiveData.DataUIs.Array
InteractiveData.DataUIs.Boolean
InteractiveData.DataUIs.Common
InteractiveData.DataUIs.Generic
InteractiveData.DataUIs.Int
InteractiveData.DataUIs.Json
InteractiveData.DataUIs.Newtype
InteractiveData.DataUIs.Number
InteractiveData.DataUIs.Record
InteractiveData.DataUIs.String
InteractiveData.DataUIs.Trivial
InteractiveData.DataUIs.Types
InteractiveData.DataUIs.Variant
InteractiveData.Entry
InteractiveData.Run
InteractiveData.UI.NumberInput
InteractiveData.UI.Slider