melonJS
    Preparing search index...

    Function getParentElement

    • return the parent DOM element for the given parent name or HTMLElement object

      Parameters

      • element: string | HTMLElement

        the parent element name or a HTMLElement object

      Returns HTMLElement

      the parent Element

      device