Unfortunately, there is no data-binding mechanism here. You need to get the UI element in your app/index.js by calling
let element = getElementById("YOU_UI_ELEMENT_ID")
and then set the text on the UI element object.
element.text = "YOUR_TEXT";
Best AnswerUnfortunately, there is no data-binding mechanism here. You need to get the UI element in your app/index.js by calling
let element = getElementById("YOU_UI_ELEMENT_ID")
and then set the text on the UI element object.
element.text = "YOUR_TEXT";
Best AnswerHow do I get the ui element id and where do I put the variable? Would it be
element.text = var test;
or not?
Sry for asking stupid questions 😉
Best Answer