$components

Posted by GregHiggins on 08-Mar-2018 20:01

I cannot find a mention of $components anywhere in the documentation. Am I perhaps missing a manual?

All Replies

Posted by egarcia on 09-Mar-2018 02:52

Hello Greg,

I do not think that we mention it in the documentation.

You can find the reference this.$components in the controller.js file of a view created using the blank template.

All the UI components used in a custom view are added to the this reference,

Example:

github.com/.../controller.js

You can use this.$component from the controller.public.js file to access the options of the components and any property/method of them.

Example:

github.com/.../controller.public.js

Please let me know if you need additional information.

I hope this helps.

This thread is closed