onfocusFires when the object receives focus. var onfocus: ((this: Window, ev: FocusEvent) => any) | null;