Files

questions / element / fileDownload / question.html
Edit Download
<pl-question-panel>
    <ul>
        <li>This text file comes from <code>clientFilesCourse</code>: <pl-file-download file-name="data.txt" directory="clientFilesCourse"></pl-file-download></li>
        <li>This text file comes from <code>clientFilesQuestion</code>: <pl-file-download file-name="data.txt" directory="clientFilesQuestion"></pl-file-download></li>
        <li>This text file comes from <code>clientFilesQuestion</code> and will be opened in a new browser tab: <pl-file-download file-name="data.txt" directory="clientFilesQuestion" force-download="false"></pl-file-download></li>
        <li>This text file is generated by <code>file()</code> in <code>server.py</code>: <pl-file-download file-name="data.txt" type="dynamic"></pl-file-download></li>
        <li>This image file is generated by <code>file()</code> in <code>server.py</code>: <pl-file-download file-name="figure.png" type="dynamic"></pl-file-download></li>
    </ul>
</pl-question-panel>