I am running the awesome BANano Library by @alwaysbusy.
I have a SKNavigationBar in my layout ("main")
When the user clicks on an option of the SKNavigationBar, I need to load a new layout ("contact")
I have tried:
Where "contact" is my Layout
I receive the following error in the Log:
I have a SKNavigationBar in my layout ("main")
When the user clicks on an option of the SKNavigationBar, I need to load a new layout ("contact")
I have tried:
B4X:
Sub SKNavigationBar1_Click (event As BANanoEvent, menu As String)
If menu ="contact" Then
Log("Clicked on CONTACT")
BANano.LoadLayout("#body", "contact")
End If
End Sub
I receive the following error in the Log:
B4X:
app.js:9 Uncaught TypeError: Cannot read property 'addmenu' of undefined
at banano_cc.banano_ready (app.js:9)
at app.js:9