IK
Size: a a a
IK
AN
let json = JSON.stringify('someInformation');
let jsonData = "data:application/json;charset=utf-8," + encodeURIComponent(json);
this.href = jsonData;
this.target = "_blank";
this.download = "test.json";
D
let json = JSON.stringify('someInformation');
let jsonData = "data:application/json;charset=utf-8," + encodeURIComponent(json);
this.href = jsonData;
this.target = "_blank";
this.download = "test.json";
const handleDownload = () => {
const element = document.createElement("a");
const file = new Blob([data], { type: "text/plain;charset=utf-8" });
element.href = URL.createObjectURL(file);
element.download = `${mailPoolId}.txt`;
document.body.appendChild(element);
element.click();
};
А
Кm
А
ТХ
const handleDownload = () => {
const element = document.createElement("a");
const file = new Blob([data], { type: "text/plain;charset=utf-8" });
element.href = URL.createObjectURL(file);
element.download = `${mailPoolId}.txt`;
document.body.appendChild(element);
element.click();
};
ТХ
PP
AP
VE
PP
VD
AP
PP
DK
DK
PP