mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
8 lines
191 B
JavaScript
8 lines
191 B
JavaScript
|
import {Controller} from "@hotwired/stimulus";
|
||
|
|
||
|
export default class extends Controller
|
||
|
{
|
||
|
download(event) {
|
||
|
this.element.href = document.getElementById('pdf_preview').data
|
||
|
}
|
||
|
}
|