j-Rows
The component Rows is a very simple alternative to j-Layout and j-Layout2.
Configuration:
parent {String}can containparent,windowor jQuery selector for theclosestmethod (default:window)margin {Number}add margin toheight(default:0)marginlg {Number}adds margin toheightforLGdisplay (default:margin)marginmd {Number}adds margin toheightforMDdisplay (default:margin)marginsm {Number}adds margin toheightforSMdisplay (default:margin)marginxs {Number}adds margin toheightforXSdisplay (default:margin)noborder {Boolean}disables border (default:false)fontsize {Boolean}enables percentual font-size according to the size of rows
Good to know:
Each row must be wrappend in <section>, try to understand from example.
Attributes:
data-sizecontains a size of sectionLG,MD,SM,XS--> in pixels or percentage, example:200,200,200,0(0means hidden)- section without
data-sizeattribute will be counted from the residual value
Use it with <ui-component name="rows">. When the component is not loaded yet, jComponent downloads it on first use from the address in DEF.fallback (the Componentator CDN by default). Author: Peter Širka. Source: the Componentator components repository, MIT license.
<style>body { padding: 0; margin: 0; }</style>
<ui-component name="rows" config="parent:window" class="hidden invisible">
<section data-size="33%">Top panel</section>
<section>Main</section>
<section data-size="33%">Bottom panel</section>
</ui-component>