onvisibilitychange: Function | undefined