This blog introduces how to use the layout container BorderContainer and stack container, which are commonly used in Dojo development. This blog introduces how to use the layout container BorderContainer and stack container, which are commonly used in Dojo development.
1. BorderContainer
It is a layout container that consists of five areas: upper, lower, and middle. Each BorderContainer has two different la s, namely headline and sidebar, which can be controlled by the "design" attribute, as shown in the following figure:
2. stack containers
When the content on the page is large, you can use the stack container to display some elements. There are three main types:
StackContainer is the most common one. You need to write control and code by yourself.
The AccordionContainer navigation button is displayed on the panel.
The TabContainer button is exclusive to the front end.
3. Sample Code
BorderContainer and stack container of dojo