function runicComponentMount(component: Type<unknown>, options?: RunicComponentMountOptions): RunicComponentMount; The mount function of an Angular guest's component: the default export of the component build's entry module. Each element of the component gets an Angular application of its own, zoneless, whose RUNIC_INSTANCE is the element's Runic instance, and component, a standalone component, renders in the element's shadow root. Its styles (styles, styleUrl, with any ViewEncapsulation but ShadowDom) become constructable stylesheets of that shadow root. Removing the element destroys the application and removes its stylesheets.
// src/component.ts, the `component.entry` of runic() in vite.config.ts
import { runicComponentMount } from "@runic-artifex/angular/experimental";
import { Widget } from "./app/widget";
export default runicComponentMount(Widget);