-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Code at https://github.com/ednl/cistercian-clock
It's a decision from my part. It's a bit easier to implement and I was more familiar with using an attribute. If I were to use what's inside the tag as a value, it would require a bit more work to "parse" the text content and to detect changes. I think it's doable without MutationObserver if I use a slot and https://developer.mozilla.org/en-US/docs/Web/API/HTMLSlotElement/slotchange_event. I created an issue to maybe try this when I find the time: https://github.com/hsablonniere/cistercian-numerals/issues/4 Thanks for the nudge ;-)