No, you will need to write this yourself. All it does is make sure it runs offline by caching the assets.
Thank you. There is no thread about it in the forums. It will be good if there is some tutorial.No, you will need to write this yourself. All it does is make sure it runs offline by caching the assets.
Yes pleasePlease start a new thread with your question
All components created in the designer have their ID (in B4X terms, this is the Name in the Abstract Designer) lowercased. So probaby doing this would've worked:SKTextBox1 was created in the designer, I only saw the classes field not the ID field
' returns the BANanoElement public Sub getElement() As BANanoElement Return mElement End Sub ' returns the tag id public Sub getID() As String Return mName End Sub
Public Sub Initialize (CallBack As Object, Name As String, EventName As String) mName = Name.ToLowerCase '<--------- to make it also lowercase for dynamically added components mEventName = EventName.ToLowerCase mCallBack = CallBack End Sub
BANano.GetElement("#" & SKTextBox1.ID).RunMethod("focus", Null)
' set focus Public Sub Focus() mElement.RunMethod("focus", Null) End Sub
Thank you for your good and hard workI haven't forgotten you for the PWA But it takes a lot more work to make the needed changes to BANano for syncing via a Service Worker. Fascinating stuff though and it will be great if it is in build-in. I'm trying, as always, to hide all the difficult stuff from you so it is simple to use.