$.fn.layout()
A simple layout engine which can be used to build e.g. the UI of web and mobile apps.
Example
JS:
$(".managed-layout").layout()
HTML:
Has a height of 50px This DIV is 100px wide This DIV has a width of 50% of the space which remains after consuming all absolutely (px) sized DIVs. Takes up the remaining space.
Attributes
vertical
| horizontal
layout = <NUM>px
| <NUM>%
| *
width = <NUM>px
| <NUM>%
| *
height = Configuration
$.fn.layout.defaults.prefix
Sets a prefix for the attributes introduced by this plugin (layout
, width
and height
).
FAQ
tbd.