General approach for integrating external libs (CSS/JS)
Posted: Mon Dec 19, 2022 10:25 am
Hello ladies and gentlemen,
Taking a look at the Tricks 'n' Tips section of the forum, I've noticed several helpful libraries and beatiful extensions, that I like to play around with.
These valuable contributions demonstrate that SpiderBasic can be used in various ways. And, of course this triggers the urge to integrate new functionalities or extend existing stuff.
However, with my current skill level in regards of SpiderBasic & JavaScript I don't see myself proficient enough to estimate where possibilities end, or - let's say - the effort cancels out the benefit.
Real world example: currently I'm fascinated by the Shoelace & Bootstrap examples.
Can such things be integrated into a SpiderBasic-Window like the Google-Chart and have interactivity?
To come straight to a point:
Is there any recommended approach on how to integrate certain JS / CSS libs? Best practices, things one must keep in mind? I see, that Modules would make sense here, but at this point I already get stuck.
I don't know how JS variables and SB variables (or functions or objects or references) are mapped. Is there a place, where suche things are documented? I've seen a few sentences on this in the SB help file, but it seems more to be a side note than an overall manual.
Thank you!
Taking a look at the Tricks 'n' Tips section of the forum, I've noticed several helpful libraries and beatiful extensions, that I like to play around with.
These valuable contributions demonstrate that SpiderBasic can be used in various ways. And, of course this triggers the urge to integrate new functionalities or extend existing stuff.
However, with my current skill level in regards of SpiderBasic & JavaScript I don't see myself proficient enough to estimate where possibilities end, or - let's say - the effort cancels out the benefit.
Real world example: currently I'm fascinated by the Shoelace & Bootstrap examples.
Can such things be integrated into a SpiderBasic-Window like the Google-Chart and have interactivity?
To come straight to a point:
Is there any recommended approach on how to integrate certain JS / CSS libs? Best practices, things one must keep in mind? I see, that Modules would make sense here, but at this point I already get stuck.
I don't know how JS variables and SB variables (or functions or objects or references) are mapped. Is there a place, where suche things are documented? I've seen a few sentences on this in the SB help file, but it seems more to be a side note than an overall manual.
Thank you!