vdom-extension.vdom.json 911 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {
  2. "tagName": "div",
  3. "attributes": {},
  4. "children": [
  5. {
  6. "tagName": "h1",
  7. "attributes": {},
  8. "children": "Our Incredibly Declarative Example",
  9. "key": 0
  10. },
  11. {
  12. "tagName": "p",
  13. "attributes": {},
  14. "children": [
  15. "Can you believe we wrote this ",
  16. {
  17. "tagName": "b",
  18. "attributes": {},
  19. "children": "in Python",
  20. "key": 1
  21. },
  22. "?"
  23. ],
  24. "key": 1
  25. },
  26. {
  27. "tagName": "img",
  28. "attributes": {
  29. "src": "https://media.giphy.com/media/xUPGcguWZHRC2HyBRS/giphy.gif"
  30. },
  31. "key": 2
  32. },
  33. {
  34. "tagName": "p",
  35. "attributes": {},
  36. "children": [
  37. "What will ",
  38. {
  39. "tagName": "b",
  40. "attributes": {},
  41. "children": "you",
  42. "key": 1
  43. },
  44. " create next?"
  45. ],
  46. "key": 3
  47. }
  48. ]
  49. }