I have seen BANano before and let me tell you that it's amazing! Alain did a really great job but our approach is different, we will not use any special elements in the B4J it will only be JQueryElement
From what I've seen Saif's team made with the other WebApps they've released (excellent work!), I think this tool will probably be useful for BANano projects too. After all, one can grab any HTML component with BANano the same as one could with jQueryElement so I see no real problem why they could not work together.
#if B4J
' Saifs code
Dim someanchor as JQueryElement
#else
' with BANano very similar, just needs an extra initialize
Dim someanchor as BANanoElement
someanchor.Initialize("#someanchor")
#End if
someanchor.SetHTML($"<div class="test">This is a test</div>"$)
I will have to wait to see what Saif generates as B4J code to be sure, and maybe some extra helper methods will be needed in BANano e.g. on how I can quickly convert/transpile some of the generated code to BANano compatible code. But I believe it to be possible as BANano covers 95% of what normal B4J core code can do.
A trick I could do if BANano transpiles jQueryElement, it can convert it to a BANanoElement and do this extra 'Initialize' automatically in the generated JavaScript (as the #id is also the name of the variable).
We'll see...
Alwaysbusy