blockly > utils > dom > SVG_NS
utils.dom.SVG_NS variable
Required name space for SVG elements.
Signature:
SVG_NS = "http://www.w3.org/2000/svg"
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["`utils.dom.SVG_NS` provides the necessary namespace for creating SVG elements within Blockly."],["This variable is a string containing the URI \"http://www.w3.org/2000/svg\", which is the standard namespace for SVG."],["It is used to ensure that SVG elements are correctly recognized and rendered within the Blockly environment."]]],["The core content defines the `SVG_NS` variable, which is the required namespace for SVG elements. The specific namespace is identified as `\"http://www.w3.org/2000/svg\"`. This information is located within the `utils.dom` portion of the Blockly library.\n"]]