Class: NativeAddonBridge
Defined in: packages/vellora/src/native-bridge.ts:43
The swappable native render boundary. The real @vellora/native implements this exact type, so the mock is a drop-in: async, finalized HTML + resolved options in, complete PDF bytes out.
Out-of-subset input is signaled by a rejection carrying the structured located diagnostic { feature, line, col, hint } (see UnsupportedDiagnostic), which the orchestration maps to a VelloraUnsupportedError.
Implements
Constructors
Constructor
new NativeAddonBridge():
NativeAddonBridge
Returns
NativeAddonBridge
Methods
render()
render(
html,options):Promise<Uint8Array<ArrayBufferLike>>
Defined in: packages/vellora/src/native-bridge.ts:54
Parameters
html
string
options
Returns
Promise<Uint8Array<ArrayBufferLike>>