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

    Function GetTarget

    • Attempts to get the target DOM element based on the given value, which can be either a string, in which case it will be looked-up by ID, or an element node. If nothing can be found it will return a reference to the document.body.

      Parameters

      • element: HTMLElement

        The DOM element to look-up.

      Returns void