sesaparcours
    Preparing search index...
    • Helper method for creating SVG elements.

      Type Parameters

      • T

      Parameters

      • name: string | Blockly.utils.Svg<T>

        Element's tag name.

      • attrs: Object

        Dictionary of attribute names and values.

      • Optionalopt_parent: Element

        Optional parent on which to append the element.

      Returns T

      Newly created SVG element. The return type is {!SVGElement} if name is a string or a more specific type if it a member of Blockly.utils.Svg