\NLBootstrapLayoutManager
Layout manager for bootstrap. Designed to work with bootstrap 3. It assumes that bootstrap 3 has been added to the parent project.
This uses each component's 'layout' property to define bootstrap behaviour, as indicated below.
It is the responsibility of the layout editor in the CMS to set these values appropriately.
- a child of a horizontal box (which will be a column in bootstrap) can contain a 'columns'
sub-property:
layout: {
bootstrap: {
columns: {
md: {
width: 3, // e.g. col-md-3
offset: 1, // e.g. col-md-offset-1
push: 0,
pull: 0
}
}
}
}
Synopsis
class NLBootstrapLayoutManager
extends ViewableData
implements
NLLayoutManager
{
- // methods
- public void render()
- public void augmentExtras()
- protected void calcLayoutClasses()