@amirsavand/ngx-common - v5.4.0
    Preparing search index...

    Function downloadUrl

    • Acts as an anchor with download and URL when clicked.

      Parameters

      • url: string

        The URL to download from.

      • Optionalfilename: string

        The name of the downloading resource.

      • documentRef: Document = document

        The reference to the document. Default is the current document.

      • Optionaltarget: string = '_blank'

        HTML anchor target value.

      Returns void