Variable toTextFile

toTextFile: ((text, asObjectURL) => string)

Type declaration

    • (text, asObjectURL): string
    • This class (static) method creates text file.

      Parameters

      • text: string

        This argument is string.

      • asObjectURL: boolean

        This argument is true in case of getting text file as Object URL.

      Returns string

      Return value is text file as Data URL or Object URL.

Generated using TypeDoc