stateful-lifecycle.vdom.js 499 B

1234567891011121314151617181920212223242526272829
  1. ({
  2. type: 'recycle-list',
  3. attr: {
  4. append: 'tree',
  5. listData: [
  6. { type: 'X' },
  7. { type: 'X' }
  8. ],
  9. switch: 'type',
  10. alias: 'item'
  11. },
  12. children: [{
  13. type: 'cell-slot',
  14. attr: { append: 'tree', case: 'X' },
  15. children: [{
  16. type: 'div',
  17. attr: {
  18. '@isComponentRoot': true,
  19. '@componentProps': {}
  20. },
  21. children: [{
  22. type: 'text',
  23. attr: {
  24. value: { '@binding': 'number' }
  25. }
  26. }]
  27. }]
  28. }]
  29. })