API
| Name | What it does |
|---|---|
renderToBuffer(input, options?), renderToFile(input, path, options?), renderToStream(input, options?) | A component (with its inputs) to a PDF (Node). |
renderTemplate(input, options?), renderToTree(input) | A template to its document tree, without the engine; the tree's dispose() releases what the template rendered. |
injectPage(), INK_PAGE | The page, in a render template: injectPage() throws outside one, inject(INK_PAGE) gives the token's value. |
Renderable | What renders to a document: a component, or { component, inputs }. |
Font, init, countPages, version, engineStatus, RenderError, TemplateError | As in the React guide. |
@inkoxide/angular/browser | The above without what needs Node, with injectPdf (its result is an InjectPdfResult), InkPdfViewer, InkPdfDownload, InkBlobProvider (its template's context is a BlobProviderContext), renderToBlob, generate. |
@inkoxide/angular/templates | generate, renderTree, parseData, renderSettled, renderDocument. |
The options of each are the React guide's API.
Synced from packages/angular/GUIDE.md in the inkoxide repository.