<div>
0.4 cn
Summary
The most fundamental component which is a contianer to wrap any other components. It supports all the common styles, attributes and layout of flexbox.
alias: <container> (deprecated)
Child Components
This type of component supports all kinds of weex component as its child components including its own kind.
Attributes
There is no specific attribute for this component other than the common attributes.
Styles
common styles: check out the common styles
- support flexbox related styles
- support box model related styles
- support
positionrelated styles - support
opacity,background-coloretc.
Events
common events: check out the common events
- support
clickevent. Check out common events - support
appear/disappearevent. Check out common events
Examples
<div>
<image src="..."></image>
<text>...</text>
</div>