<div>

Summary

<div> is the base container component.

TIP

  • Don't add text in <div>directly. Use <text> instead.
  • In Weex, <div> cannot scroll.
  • Depth level of <div> should be controlled for better performance. We sugges lower than 14 depth level.

Child Components

<div> supports all kinds of components as it child including <div>.

Styles

Events

Last Updated: 8/7/2019
Excellent docUnusable doc