React on the other hand works differently, there is an attribute called 'className' that is a replica of the 'class' attribute that should do the same.
As someone who is also experimenting on this React experiment with BANano, please let me revert back after I check your code. I'm sure we will find a solution.
@micro , is this what you expected? If so, I found the bug, the SetClassName method was not being set.
I had not even explored inline CSS for BANanoReact, thanks for exploring this project. I think your input will add a lot of value to this when you explore it. Thanks a mill and keep it up!!
Ta:
PS: I have updated the repo, this is in pgLesson04. Please also mark the question as [SOLVED] if your issue is resolved. Thanks.
Hi
surely I still have to practice with js and html but there seems to be a problem in Sub ItemClick in pgLesson4.
The raised event does not get the key value.
With:
BANano.Msgbox($"Event: ${e.key}"$)
Get
Event: undefined
With:
BANano.Msgbox(e)
Get
[object Object]