provideRunicInstance function

Module @runic-artifex/angular in @runic-artifex/angular 0.23.0

function provideRunicInstance(instance: RunicInstance): Provider;

Provides instance as the RUNIC_INSTANCE of an injector: injectView, injectField, injectText, injectBridgeConnection, injectAppearance and the other helpers below it use it instead of the page instance. A guest that renders inside another page, such as an embedded component, adds it to its application's or its root component's providers.

const instance = createRunicInstance({ bridge });
bootstrapApplication(App, { providers: [provideRunicInstance(instance)] });