Hey, I have run into usecases where I need specific functions that are not supplied at the moment.
I understand that it is still early days for this library, and I am really loving it so far!
However, I would like these functions to be implemented ASAP as it will make the Dev Ex better in my opinion.
append - This function would take a list of
QueryResult elements and append them as children to the targeted node, as such:
const parentElement = nashi.create("div");
const childElement = nashi.create("p");
attr - This function would take two strings (the first being the attribute name), and the second being the new value to set the attribute to, as such:
attr(name: string, value: string)
const element = nashi.create("input");
element.attr("value", "hello world!");
I also want the types, such as
Input, to be exposed for personal use.
If they are already exposed, I wasn't able to find the relevant documentation.