Safe Haskell | None |
---|---|
Language | GHC2021 |
Halogen.HTML.Layout
Documentation
class Layout (f :: Type -> Type -> Type) where Source #
Methods
layout :: LayoutSettings f -> f w i -> HTML w i Source #
addComponent :: LayoutConstraints f -> HTML w i -> f w i -> f w i Source #
Instances
addComponent' :: (Layout f, Default (LayoutConstraints f)) => HTML w i -> f w i -> f w i Source #
addComponentIf :: Layout f => Bool -> LayoutConstraints f -> HTML w i -> f w i -> f w i Source #
addComponentIf' :: (Layout f, Default (LayoutConstraints f)) => Bool -> HTML w i -> f w i -> f w i Source #
newtype LayoutM (f :: k -> k1 -> Type) (w :: k) (i :: k1) Source #
Constructors
LayoutM (f w i -> f w i) |
runLayoutM :: forall (f :: Type -> Type -> Type) w i. Layout f => LayoutSettings f -> LayoutM f w i -> HTML w i Source #
class Layout f => AddLayout (f :: Type -> Type -> Type) w i a | a -> w i where Source #
Instances
with :: forall (f :: Type -> Type -> Type) w i. LayoutConstraints f -> HTML w i -> (LayoutConstraints f, HTML w i) Source #