Monday, August 7, 2017

Re: visibilitychange event

Thanks Thomas.  Final code for reference:


private static native final String getVisibilityState() /*-{
  return $doc.visibilityState;

private static native final void listenForVisibilityChange(Command onChange) /*-{
  $doc.addEventListener("visibilitychange", function() {
  }, false);

You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment