Within my webpage, I have integrated two files - (dialog.tag) and (radio.tag), which are compiled and mounted using the command riot.mount('*')
I am currently attempting to dynamically insert DOM elements into the existing riot tag (dialog):
<dialog-tag id="dialog">
<div ref="body"></div>
</dialog-tag>
In a separate script that executes after the initial tag is mounted:
let dialog = document.getElementById("dialog")._tag;
dialog.refs.body.innerHtml = "<div><radio label='some label'></radio></div>"
My goal is to compile the radio tags once they have been added to the dialog tag. Is there a method to achieve this?