(name: string, raw: string)
| 559 | } |
| 560 | |
| 561 | function commitAttr(name: string, raw: string) { |
| 562 | if (!comp || !selectedId) return; |
| 563 | comp.element(selectedId).setAttribute(name, raw.trim() || null); |
| 564 | logEntry("op", { setAttribute: { id: selectedId, name, value: raw } }); |
| 565 | } |
| 566 | |
| 567 | function appendAttributesSection(container: HTMLElement, el: PropEl) { |
| 568 | const sec = propSection("Attributes"); |
no test coverage detected