(container: HTMLElement, el: PropEl)
| 594 | } |
| 595 | |
| 596 | function appendAnimationsSection(container: HTMLElement, el: PropEl) { |
| 597 | const sec = propSection("Animations"); |
| 598 | if (el.animationIds.length > 0) |
| 599 | for (const aid of el.animationIds) sec.appendChild(tweenChip(aid)); |
| 600 | else sec.appendChild(mkNote("no tweens")); |
| 601 | sec.appendChild(addTweenToggle()); |
| 602 | container.appendChild(sec); |
| 603 | } |
| 604 | |
| 605 | function tweenChip(aid: string): HTMLDivElement { |
| 606 | const chip = document.createElement("div"); |
no test coverage detected