I noticed that the \client\stemapp\widgets folder there are folders for 'About' and 'Splash'. Are these widgets available for use in the Beta2? If so, is there a way to get them to show in the WebApp Builder?
Matthew,
I don't see anyway in the Builder GUI to add either of those but you can manually add then to your apps config.json or your builders "client\builder\predefined-apps\default2DApp\config.json"
Robert,
I'm pretty new to JavaScript and don't know my way around it yet. Questions I have being a newby:
1) Does it matter where in the config.json file?
2) Is copying one of the other widget snipets and replacing with 'About' or 'Splash' good enough?
3) I'm assuming something needs to be entered into the Widget.js file within the \client\stemapp\widgets\Splash\ folder?...where exactly would you enter some text you'd like to show?
Probably all somewhat straight forward questions, but like I said, I'm not used to JavaScript but am eager to learn and need a push in the right direction. Thanks!
Matthew,
Open the config.json for your application and find the Scalebar and copy its curly brace block and replace the label and uri.
To replace the text you need to edit "widgets\Splash\nls\strings.js" welcomeMessage
Hope this covers your questions
That is a good start, thanks!