Skip to content

Magento Javascript events

How does one discover which Javascript events exist in Magento 2?

I need to run some Javascript code in an adminhtml form for a custom module. The code should run after the fields are displayed (i.e. the spinner disappears). Is there a Javascript event that runs at that time? Or should I just check the existence of the target field with setInterval?