For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /api/elements/built-in/svg-API.md.
Lynx
  • English
  • Attributes

    content

    Android
    iOS
    Desktop
    Harmony
    content?: string;

    SVG XML content

    src

    Android
    iOS
    Desktop
    Harmony
    src?: string;

    SVG resource URL

    Events

    Frontend can bind corresponding event callbacks to listen for runtime behaviors of the element, as shown below.

    bindload

    Android
    iOS
    Desktop
    Harmony
    bindload = (e: BaseEvent) => {};

    SVG Loaded

    Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.