Angularで作るER DIAGRAM TOOL – 第十四回 Export JSON

This time, Export JSON function.
As a flow,
· Click Export JSON in navbar
· Modal opens
· Download button to download

Then, from the modal download to be opened.

(1) Modal Download




· Import of ModalDownloadComponent

The process to open from navbar next

(2) navbar


· Import and DI DomSanitizer
· Import ModalDownloadComponent

that’s all.
Next time, we plan to add a function to read the exported data.