Home > Mobile >  Help WeChat small program component properties and the problem of internal data
Help WeChat small program component properties and the problem of internal data

Time:11-30

Development WeChat small program soon, now want to use directly in a component implementation
1, when the initialization, part of the display list
2, the end of the component has a show more, click on the display more will list all processing
The thinking of implementation:
1, transfer the whole list as properties to the component in the
2, the components of attribute data processing, first to extract part as the internal data (list) is used to display,
3, click show more time, will list all assigned to the internal data (list) to reload the
Confused:
1, properties of how the data processing in advance to the internal data
2, how does the internal data in WXML file reference
Ask everybody to help
  • Related