Focus on input component on button click

Yes, in other systems the button click would ‘bring focus’ to the Input. Is there way to programmatically cause the focus event?

I see this topic: Auto focus on an input form field with UI builder - General - Backendless Support
The end result is autofocus for the input component … since my input field is hidden until the button is clicked, this works for me.

But for the future: is there a way to bring focus to on Input component programmatically?