I have been working on creating native components for Maestro and am having a little trouble working out a few things. I was wondering if it’s possible to get the source files (HTML, JSON, JS) for the built-in Avoka components so that I can use them as examples for creating my own components. I haven’t found a way to export the built-in libraries from Maestro.
Specifically I would find it useful to see how some things were achieved using js in the Avoka components.
Take a look here first...Creating Maestro Native Components if you download the toolkit you'll see templates that should explain a fair bit. The templates are very similar to the built-ins.
I have seen/used this documentation but also thought it would be useful to see the built-in components too, if possible.
If you publish a form without minifying (from the publish/build options panel), you can use Chrome's F12 Developer Tools to open app.js and view the component code. Search for app\.ng\. in app.js to see Angular directives and controllers. In Chrome, press F12, then ctrl-o, enter app.js, enter, then ctrl-f to search.
Note that you will only see the code for components that are present in your form, so add the ones you want to inspect.
Thanks Bill, this will help me heaps!