123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- ---
- source: packages/rsx/tests/rsx_diff.rs
- expression: new_template
- ---
- Template {
- name: "testing",
- roots: [
- Element {
- tag: "div",
- namespace: None,
- attrs: [
- Dynamic {
- id: 1,
- },
- Static {
- name: "height",
- value: "100px",
- namespace: None,
- },
- Static {
- name: "height2",
- value: "100px",
- namespace: None,
- },
- Dynamic {
- id: 0,
- },
- ],
- children: [
- Dynamic {
- id: 3,
- },
- Dynamic {
- id: 2,
- },
- Dynamic {
- id: 1,
- },
- Dynamic {
- id: 0,
- },
- Element {
- tag: "p",
- namespace: None,
- attrs: [],
- children: [
- Text {
- text: "hello world",
- },
- ],
- },
- ],
- },
- ],
- node_paths: [
- [
- 0,
- 3,
- ],
- [
- 0,
- 2,
- ],
- [
- 0,
- 1,
- ],
- [
- 0,
- 0,
- ],
- ],
- attr_paths: [
- [
- 0,
- ],
- [
- 0,
- ],
- ],
- }
|