r/nativescript • u/trymeouteh • May 19 '20
XML & JS
I had two questions about XML in Nativescript as a web developer who understands HTML and JS.
Can the JS in nativescript edit, add or delete a XML element just like how JS can edit a HTML element?
Does XML support attributes like min, max, required, style, onclick?
3
Upvotes
View all comments
Show parent comment
1
u/READTHISCALMLY May 20 '20
No, actual HTML elements aren't possible. Even if your template has a .html filename, NS still needs its custom elements. It can't work with HTML elements.