title: type: references group: Build-in Components order: 8.08 version: 2.1

<cell>

Summary

This component must be used as a subcomponent of a list recycler waterfall component, which is for the performance optimizing for long list scrolling.

Child Components

This type of component supports all kinds of weex component as its child components.

Attributes

Notes: you can‘t give <cell> a flex value. Width of <cell> is equal to the width of its parent component <list>, and you don’t need to specify its height.

  • keep-scroll-position {boolean}: v0.11+ List Whether to keep the last sliding position after inserting the Cell

Styles

common styles: check out the common styles

  • support flexbox related styles
  • support box model related styles
  • support position related styles
  • support opacity, background-color etc.

Notes: cell itself is a container, its layout info is managed by list, so specifying cell's margin info will not work.

Events

common events: check out the common events

Example

please refer to List recycler waterfall