The most fundamental component which is a container to wrap any other components. It supports all the common styles, attributes and layout of flexbox.
alias: <container>
(deprecated)
This type of component supports all kinds of weex component as its child components including its own kind.
There is no specific attribute for this component.
common styles: check out the common styles
position
related stylesopacity
, background-color
etc.common events: check out the common events
click
event. Check out common eventsappear
/ disappear
event. Check out common events<template> <div> <div class="box"></div> </div> </template> <style scoped> .box { border-width: 2px; border-style: solid; border-color: #BBB; width: 250px; height: 250px; margin-top: 250px; margin-left: 250px; background-color: #EEE; } </style>