Hi there
I was just cleaning my project and removed all .clear methods for my maps as I noted in the transpiled code that clearing them was not necessary due to to .initialize method just after 'dim m as map', thing is this has resulted in something else.
This is what happens...
When maps are...
Hi there
I'm trying to transverse some form elements by name, the example here gets all the inputs by a particular name e.g. category. This returns the two expected elements. In the future i'd like to serialize these without them having to be inside a 'form' tag.
Issues: One of the elements is...
Hi there
I'm struggling with some element events, please if one can, can they explain the following for more clarity on my side? Thanks
1. I'd like to delete all existing events for an element and re-assign others, how can I do so?
2. The method below, does it replace the 'click' event for...
Peter had a great idea for a new feature in BANano:
I liked it! He had already written out the ground rules so we only needed a couple of mails to get on the same page. As a result BANano 1.27 has a PHP connection (we plan support for .asp(x), CGI, python, ... later).
A note beforehand: It is...
Hi there
Depending on what component I might need on my app, I'd like to AddJavaScriptFile & AddCSSFile on demand. For example, in a particular page I need a FlowChart and only want to load the flowchart as and when needed?
Is this possible or will it be possible in future versions?
Thank you.
Hi there
I'm exploring the new BANano framework and have ran into an error I cannot fix. I have included the source code of the project here so long.
I know I can perhaps define the enumerations inside a module but rather would like the approach to use classes instead. The issue is the...
Hi there
I have defined a class to hold some enumeration values, below is one of them
#IgnoreWarnings:12
'create a COLOR class
Sub Class_Globals
Public AMBER As String
Public BLACK As String
Public BLUE As String
Public BLUEGREY As String
Public BROWN As String...
Hi there...
B4J Code
Sub GetCssStyle(styleName As String) As String
If styleName.StartsWith("@") Then
else If styleName.StartsWith("#") Then
else If styleName.StartsWith(".") Then
Else
styleName = "." & styleName
End If
Return CSSRule.Get(styleName)
End Sub...
Hi there
The B4J Map object has two properties
1. Keys
2. Values
Just learned the hard way that, the BANano map.Keys values returns the actual map object whilst the Values returns an error. If these might not work as expected, perhaps the logs should reflect an error that one should use...
Hi there
Some time ago I created some base classes that I'm using for anything webapp programming I'm doing inclusive of the ABM things I did. These classes I have also used for the custom components in ABM.
I posted these here many moons ago. Seeing that BaNano is an interesting concept I'd...
Hi there
I have'nt used this yet, i'm curious about your ajax calls. This is my case scenario.
1. GetAccessToken - I save the retrieved access token to a file. I can save this to localstorage in this case using BANano I think.
2. Used the saved access token to return other data from the rest...
Hello,
with this simple code-snippet...
Sub GetElement(ID As String) As BANanoElement
ID = ID.ToLowerCase
Return BANano.GetElement(ID)
End Sub
... i get the following Error:
Thanks in advance & Greetings ... Peter
Hello,
i'm not sure if this is a bug:
Dim myBANanoElement As BANanoElement
myBANanoElement = BANano.GetElement("body")
Log(myBANanoElement) ' -> body-Element (correct)
myBANanoElement = BANano.GetElement("body").Append($"<div></div>"$)
Log(myBANanoElement) ' -> also body-Element...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.