In checkout, I want to call a function after rendering the email form. Magento provides the "afterRender" attribute on html elements to call a uiComponent function, and this is working. However, I would like to use the "afterRender" property within a uiComponent's default.template property.
For example, I want to change this line, to something like this:
The "afterRender" function expects a function to call after rendering the template, just as it does when used in an html template using afterRender="emailHasChanged".
The html attribute method of calling a function works, but calling this.emailHasChanged inside my JS file does not. Is there a way that I can call emailHasChanged after rendering the template?