Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
Website
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MDM Lab
Website
Merge requests
!22
Resolve "export genomic context to svg or png"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "export genomic context to svg or png"
export-genomic-context-to-svg-or-png
into
main
Overview
0
Commits
2
Pipelines
3
Changes
8
Merged
Remi PLANEL
requested to merge
export-genomic-context-to-svg-or-png
into
main
11 months ago
Overview
0
Commits
2
Pipelines
3
Changes
8
Expand
Closes
#21 (closed)
0
0
Merge request reports
Compare
main
version 1
143a1609
11 months ago
main (base)
and
latest version
latest version
779623fa
2 commits,
11 months ago
version 1
143a1609
1 commit,
11 months ago
8 files
+
162
−
20
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
8
Search (e.g. *.vue) (Ctrl+P)
frontend/composables/useDownloadBlob.ts
0 → 100644
+
14
−
0
Options
export
function
useDownloadBlob
()
{
function
download
(
blob
:
MaybeRef
<
Blob
>
,
filename
:
MaybeRef
<
string
>
)
{
const
toValueBlob
=
toValue
(
blob
)
const
toValueFilename
=
toValue
(
filename
)
var
a
=
document
.
createElement
(
"
a
"
);
a
.
href
=
URL
.
createObjectURL
(
toValueBlob
);
a
.
download
=
toValueFilename
;
a
.
click
();
URL
.
revokeObjectURL
(
a
.
href
);
}
return
{
download
}
}
\ No newline at end of file
Loading