Tweakr
    Preparing search index...

    Function setFavicon

    • Sets or updates the page's favicon.

      Parameters

      • url: string

        The URL of the favicon image.

      Returns void

      // Set favicon to a custom URL
      setFavicon("/assets/favicon.ico");

      1.1.0