Add copy button, update packages

This commit is contained in:
2024-07-13 11:27:47 +09:30
parent 445346b29b
commit 72c24a70ae
6 changed files with 50 additions and 30 deletions

View File

@@ -10,4 +10,8 @@
} }
</div>
<h2>Preview</h2>
<div class="actions">
<button mat-flat-button (click)="copyToClipboard()">Copy</button>
</div>
<pre *ngIf="showRaw()"><code #code></code></pre>