Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
newtype AssumedRowHeight Source #
Instances
newtype AssumedTableHeight Source #
Instances
newtype CurrentScrollY Source #
Instances
LazyTable a AssumedTableHeight AssumedRowHeight CurrentScrollY RowsToShow (SortCol a) [Row (LazyTable a)] |
Instances
type DebounceScroll m a = (RawNode -> RawEvent -> JSM (Continuation m a)) -> RawNode -> RawEvent -> JSM (Continuation m a) Source #
data LazyTableScrollConfig m a b Source #
ContainerIsScrollable (DebounceScroll m (b, CurrentScrollY)) | |
TbodyIsScrollable (DebounceScroll m (LazyTable a, SortCol (LazyTable a))) |
Instances
Generic (LazyTableScrollConfig m a b) Source # | |
Defined in Shpadoinkle.Widgets.Table.Lazy type Rep (LazyTableScrollConfig m a b) :: Type -> Type # from :: LazyTableScrollConfig m a b -> Rep (LazyTableScrollConfig m a b) x # to :: Rep (LazyTableScrollConfig m a b) x -> LazyTableScrollConfig m a b # | |
type Rep (LazyTableScrollConfig m a b) Source # | |
Defined in Shpadoinkle.Widgets.Table.Lazy type Rep (LazyTableScrollConfig m a b) = D1 (MetaData "LazyTableScrollConfig" "Shpadoinkle.Widgets.Table.Lazy" "Shpadoinkle-widgets-0.1.0.0-inplace" False) (C1 (MetaCons "ContainerIsScrollable" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (DebounceScroll m (b, CurrentScrollY)))) :+: C1 (MetaCons "TbodyIsScrollable" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (DebounceScroll m (LazyTable a, SortCol (LazyTable a)))))) |
lazyTable :: forall m a b. (LazyTabular a, Effect a m, MonadJSM m, Humanize (Column a), Bounded (Column a), Ord (Column a), Enum (Column a)) => Theme m a -> AssumedTableHeight -> AssumedRowHeight -> LazyTableScrollConfig m a b -> (Html m ((a, SortCol a), CurrentScrollY) -> Html m (b, CurrentScrollY)) -> a -> SortCol a -> CurrentScrollY -> Html m (b, CurrentScrollY) Source #