I have added a bootstrapcomponents-button to my form via the solution model using:
- Code: Select all
var btnDownload = myForm.newWebComponent('btnDownload', 'bootstrapcomponents-button', x, y, width, height);
I now want to set some of the properties (such as styleClass, imageStyleClass etc.) but code completion does not show these as being available. I have tried to add a JSDoc tag to show the type for the component:
- Code: Select all
/** @type {plugins.bootstrapcomponents-button} */
var btnDownload = myForm.newWebComponent('btnDownload', 'bootstrapcomponents-button', x, y, width, height);
This does not show any build markers for the type declaration but also does not bring up the properties in code completion.
Any ideas how I can get access to the properties (with code completion and without getting build markers).
Thanks
Steve