B4J Question [SOLVED][BANanoReact] CSS Class

micro

Well-Known Member
Licensed User
Longtime User
from https://www.b4x.com/android/forum/threads/bananoreact-lets-please-build-a-community-project.108790/

I had already tried to insert the class in ClassName but not work.
 

Mashiane

Expert
Licensed User
Longtime User
@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.

https://github.com/Mashiane/BANanoReActApp
 
Last edited:
Upvote 0

micro

Well-Known Member
Licensed User
Longtime User
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]

where am I wrong?
Thanks
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…