Module

Lumi.Components.FetchCache

Package
purescript-lumi-components
Repository
lumihq/purescript-lumi-components

#FetchCacheProps Source

type FetchCacheProps id value = { getData :: id -> Aff value, id :: Maybe id, render :: Maybe value -> JSX }

#single Source

single :: forall id value. Ord id => FetchCacheProps id value -> JSX

Fetch data on mount and rerender when it's ready.

#FetchCacheMultiProps Source

type FetchCacheMultiProps id value = { getData :: Array id -> Aff (Array { id :: id, value :: value }), ids :: Maybe (Array id), render :: Maybe (Array { id :: id, value :: Maybe value }) -> JSX }

#multi Source

multi :: forall id value. Ord id => FetchCacheMultiProps id value -> JSX

Fetch data on mount and rerender when it's ready.

#FetchCacheAction Source

data FetchCacheAction id value

Constructors

#component Source

component :: forall id value. Component (FetchCacheMultiProps id value)
Modules
JSS
Lumi.Components.Badge
Lumi.Components.Border
Lumi.Components.Breadcrumb
Lumi.Components.Button
Lumi.Components.ButtonGroup
Lumi.Components.Card
Lumi.Components.CardGrid
Lumi.Components.Color
Lumi.Components.Column
Lumi.Components.Details
Lumi.Components.Divider
Lumi.Components.DropdownButton
Lumi.Components.EditableTable
Lumi.Components.FetchCache
Lumi.Components.FixedPrecisionInput
Lumi.Components.Form
Lumi.Components.Form.Defaults
Lumi.Components.Form.Internal
Lumi.Components.Form.Table
Lumi.Components.Form.Validation
Lumi.Components.Icon
Lumi.Components.Images
Lumi.Components.Input
Lumi.Components.InputGroup
Lumi.Components.LabeledField
Lumi.Components.Layouts
Lumi.Components.Layouts.Centered
Lumi.Components.Layouts.OneColumnWithHeader
Lumi.Components.Layouts.Tabs
Lumi.Components.Link
Lumi.Components.List
Lumi.Components.Loader
Lumi.Components.Lockup
Lumi.Components.Modal
Lumi.Components.NativeSelect
Lumi.Components.Navigation
Lumi.Components.Orientation
Lumi.Components.Pagination
Lumi.Components.Pill
Lumi.Components.Progress
Lumi.Components.Responsive
Lumi.Components.Row
Lumi.Components.Select
Lumi.Components.Select.Backend
Lumi.Components.Size
Lumi.Components.Slider
Lumi.Components.Spacing
Lumi.Components.Status
Lumi.Components.StatusSlat
Lumi.Components.Styles
Lumi.Components.Svg
Lumi.Components.Tab
Lumi.Components.Table
Lumi.Components.Table.FilterDropdown
Lumi.Components.Text
Lumi.Components.Textarea
Lumi.Components.Toast
Lumi.Components.Tooltip
Lumi.Components.Upload
Lumi.Components.Utility.ReactRouter
Lumi.Components.Wizard
Lumi.Components.ZIndex