Skip to content

feat: print views without a dialog - #11

Merged
dskripchenko merged 3 commits into
mainfrom
feat/print-view
Nov 1, 2026
Merged

dskripchenko merged 3 commits into
mainfrom
feat/print-view

Conversation

@dskripchenko

Copy link
Copy Markdown
Owner

printView() on <OpenApiReference> and <OpenApiOperation> (template ref), plus documentPrintView(ctx) / operationPrintView(entry, ctx): the static print view as { html, css, title } (css for a shadow root), without opening the print dialog — for a host that prints its own page with the reference in it. printDocument / printOperation now go through them. The reference's ref also exposes print().

Test: both components mounted in jsdom give their views. Docs en/ru/de/zh.

🤖 Generated with Claude Code

dskripchenko and others added 3 commits November 1, 2026 14:36
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A single run's time includes a garbage collection or the load of tests
running beside it; the bound is for the search itself.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dskripchenko
dskripchenko merged commit 9163ecf into main Nov 1, 2026
4 checks passed
@dskripchenko
dskripchenko deleted the feat/print-view branch November 1, 2026 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant