(exampleList, paramType, paramName)
| 303 | } |
| 304 | |
| 305 | renderLongFormatExamples(exampleList, paramType, paramName) { |
| 306 | return html` <ul style="list-style-type: disclosure-closed;"> |
| 307 | ${exampleList.map((v) => html` |
| 308 | <li> |
| 309 | ${this.renderExample(v, paramType, paramName)} |
| 310 | ${v.summary?.length > 0 ? html`<span>(${v.summary})</span>` : ''} |
| 311 | ${v.description?.length > 0 ? html`<p>${unsafeHTML(marked(v.description))}</p>` : ''} |
| 312 | </li> |
| 313 | `)} |
| 314 | </ul>`; |
| 315 | } |
| 316 | |
| 317 | exampleListTemplate(paramName, paramType, exampleList = []) { |
| 318 | return html` ${ |
no test coverage detected