Using Ready-made JS Components
When using ready-made JS components, that you have obtained from a third-party, you need to add the .js file(s) to the html/scripts folder in the Omnis tree, and any other CSS and image files required for the control need to be put in the appropriate folder(s). You will also need to add any properties, methods, and events in your JS control to the JSON definition file via the JSON Control Editor.
There is a new tech note on the Omnis website that describes the process of using a ready-made JS component in Omnis: in the tech note we have taken a ready-made JS component which displays a Star rating, and created a JSON wrapper for it. The tech note is here:
The main docs for the new JSON controls, and many other new features added to Studio 8.1, are in the updated ‘Creating Web & Mobile Apps’ manual, which is here: