()
| 767 | } |
| 768 | |
| 769 | function buildSetTextSection(): HTMLDivElement { |
| 770 | const textInput = mkInput("new text", ""); |
| 771 | const set = mkBtn("Set", "primary", () => { |
| 772 | if (!needSelection()) return; |
| 773 | comp!.setText(selectedId!, textInput.value); |
| 774 | logEntry("op", { setText: { id: selectedId, value: textInput.value } }); |
| 775 | }); |
| 776 | return opSection("setText", opRow(textInput, set)); |
| 777 | } |
| 778 | |
| 779 | function buildAddGsapTweenSection(): HTMLDivElement { |
| 780 | const target = mkInput("target id", selectedId ?? "hf-badge"); |