(container: HTMLElement, el: PropEl)
| 529 | } |
| 530 | |
| 531 | function appendBoxSection(container: HTMLElement, el: PropEl) { |
| 532 | const sec = propSection("Box"); |
| 533 | sec.appendChild(makeStyleRow("Background", "background", styleVal(el, "background"), "color")); |
| 534 | sec.appendChild(makeStyleRow("Opacity", "opacity", styleVal(el, "opacity"), "text")); |
| 535 | sec.appendChild(makeStyleRow("Left", "left", styleVal(el, "left"), "text")); |
| 536 | sec.appendChild(makeStyleRow("Top", "top", styleVal(el, "top"), "text")); |
| 537 | container.appendChild(sec); |
| 538 | } |
| 539 | |
| 540 | function attrRow(name: string, val: string): HTMLDivElement { |
| 541 | const row = document.createElement("div"); |
no test coverage detected