Since you're using React, to get a reference to the HTML element, use the useRef() hook. The doc.save() method takes the name of the PDF file as an argument ...
確定! 回上一頁