This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: Code Composer Studio
I am trying to use the ti-widget-streamsaver using this example:
https://dev.ti.com/gallery/info/10648/demo_streamsaver/
The demo works OK when I load it.
Then I tried to add these buttons to another application. I followed the instructions, added the two lines of code for the streamsaver into the index.gui files, copied the demo.js file into the project, and added buttons with the same properties as shown in the demo. It didn't work.
After some trouble shooting I found that the problem is my index.gui file did not have the onclick="xxx()" properties attached to the buttons. When I manually added these statements, then it worked.
However, I do not see these properties shown in the property pane in the gui editor for either project. Also, there are some widgets that have properties defined in the property pane that I do not see in the index.gui file (such as bindings)
So, I have some questions:
Thanks,
Ciaran
Ciaran,
The onclick property is not available in the Properties pane, it will need to be added directly using the code editor. I don't see onclick documented anywhere either. I will pass this feedback on to the GUI Composer team.