phaser - v4.0.0-rc.4
    Preparing search index...

    Function VisibilityHandler

    • The Visibility Handler is responsible for listening out for document level visibility change events. This includes visibilitychange if the browser supports it, and blur and focus events. It then uses the provided Event Emitter and fires the related events.

      Parameters

      • game: Game

        The Game instance this Visibility Handler is working on.

      Returns void