threepenny-gui-flexbox-0.2.0.0: Flexbox layouts for Threepenny-gui.

Safe HaskellNone
LanguageHaskell2010

Graphics.UI.Threepenny.Ext.Flexbox

Synopsis

Documentation

data ChildProps Source #

Properties for a child.

defaultParentProps :: ParentProps Source #

Default properties for a parent.

defaultChildProps :: ChildProps Source #

Default properties for a child.

flexbox :: UI Element -> ParentProps -> [(UI Element, ChildProps)] -> UI Element Source #

Attach elements to a parent element, with given Flexbox properties applied.

column :: UI Element -> [UI Element] -> UI Element Source #

Attach elements to a parent element with flex-direction column.

row :: UI Element -> [UI Element] -> UI Element Source #

Attach elements to a parent element with default Flexbox properties.