Keyboard Focus
-
Hello everyone,
is there a way to check which element is in keyboard focus?
I only see “grabFocus” and “loseFocus” in the API.
Thank you very much
Oli -
@Oli-Ullmann setKeyPressCallback has an obj argument that has is Focus Change property or whatever it's called. So the method name is a bit misleading as it definitely fires off as soon as you click the component, too.
Run the trace on the obj to see all the properties.
-
@aaronventure Thanks for the tip. I'll try that!