LWT JavaScript API
    Preparing search index...
    • Replace a legacy PNG icon with a Lucide icon.

      This is useful for gradual migration - it can replace an existing element with the new Lucide icon.

      Parameters

      • imgElement: HTMLImageElement

        The img element to replace

      • lucideName: string

        The Lucide icon name to use

      Returns void