12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- ---
- source: packages/rsx/tests/rsx_diff.rs
- expression: template
- ---
- Template {
- name: "testing",
- roots: [
- Element {
- tag: "svg",
- namespace: Some(
- "svg",
- ),
- attrs: [
- Dynamic {
- id: 0,
- },
- Static {
- name: "height",
- value: "100px",
- namespace: Some(
- "style",
- ),
- },
- Dynamic {
- id: 1,
- },
- Static {
- name: "height2",
- value: "100px",
- namespace: None,
- },
- ],
- children: [
- Element {
- tag: "p",
- namespace: None,
- attrs: [],
- children: [
- Text {
- text: "hello world",
- },
- ],
- },
- Dynamic {
- id: 0,
- },
- ],
- },
- ],
- node_paths: [
- [
- 0,
- 1,
- ],
- ],
- attr_paths: [
- [
- 0,
- ],
- [
- 0,
- ],
- ],
- }
|