(display = 'flex')
| 1022 | } |
| 1023 | |
| 1024 | curlSyntaxTemplate(display = 'flex') { |
| 1025 | return html` |
| 1026 | <div class="col m-markdown" style="flex:1; display:${display}; position:relative; max-width: 100%;"> |
| 1027 | <button class="toolbar-btn" style = "position:absolute; top:12px; right:8px" @click='${(e) => { copyToClipboard(this.curlSyntax.trim().replace(/\\$/, ''), e); }}' part="btn btn-fill"> Copy </button> |
| 1028 | <pre style="white-space:pre"><code>${unsafeHTML(Prism.highlight(this.curlSyntax.trim().replace(/\\$/, ''), Prism.languages.shell, 'shell'))}</code></pre> |
| 1029 | </div> |
| 1030 | `; |
| 1031 | } |
| 1032 | |
| 1033 | apiResponseTabTemplate() { |
| 1034 | let responseFormat = ''; |
no test coverage detected