Save
16 Dec 20251 minute to read
Save class provide method to save file
```typescript
let blob : Blob = new Blob([’’], { type: ‘text/plain’ });
Save.save(‘fileName.txt’,blob);
Methods
save
Saves the file with the specified name and sends it to the client browser.
| Parameter | Type | Description |
|---|---|---|
| fileName | string |
The file name to save. |
| buffer | Blob |
The content to write in the file. |
Returns void