SPLIT attribute
The SPLIT attribute forces a horizontal box to show only one child
container.
Syntax
SPLIT[@screen-size]
{ SMALL | MEDIUM | LARGE }- screen-size is a screen size selector that indicates when the box is to be
split, depending on the size of the screen. Several
SPLIT@screen-sizeattributes can be used for the same element.
Usage
When the SPLIT attribute takes effect, the HBOX or
VBOX displays only one child container at a time. The child containers can for
example be a GRID, a TABLE or a SCROLLGRID.
SPLIT attribute only takes effect when the orientation of the box is horizontal. This
applies to:HBOXelements without anORIENTATIONattribute.HBOXorVBOXelements withORIENTATION=HORIZONTALHBOXorVBOXelements withORIENTATION@screen-size=HORIZONTALand the screen-size applies.
On mobile devices, when the box is splitted, the end user can use the swipe gesture to move
between child containers. To deny the swipe gesture, use the NOSWIPE attribute.
When SPLIT is in action with desktop / web browser front ends, is it possible to
move between child containers by using a specific widget. The type of widget can be controlled with
the navigationArrows / navigationDots style attributes.
The SPLIT and SPLITTER attributes are similar concepts, but are not to be used together:
SPLITTER makes only sense when several child containers are displayed at the same
time.
Example
HBOX hb1 ( SPLIT@SMALL )
GRID grid1
...
TABLE table1
...
END