class RegionOutlets<R extends PageReference = PageReference> Renders a ViewOutlet for the regions of a region collection, each in a <div data-region-key> tracked by the region's key. A region that is not selected is rendered with hidden and an inline display: none, which author CSS without !important cannot override. A new content reference in a region remounts only that region's component. The projected content renders while the collection has no region, and missing is passed to each outlet. panelProps returns attributes for each wrapper, so a tab can point aria-controls at its panel:
<runic-region-outlets [collection]="state()?.documents" [registry]="pages" [panelProps]="panel">No open documents</runic-region-outlets>mode "keep-mounted" (the default) renders every region and hides all but the selected one, so each region keeps its component and DOM. "selected" renders only the selected region.
Properties
collection
readonly collection: InputSignal<RegionCollection<R> | null | undefined>; No documentation.
missing
readonly missing: InputSignal<TemplateRef<ViewOutletMissingContext<R>> | undefined>; Renders a reference whose kind has no registered component instead of the English alert.
panelProps
readonly panelProps: InputSignal<((entry: RegionEntry<R>) => RegionPanelAttributes) | undefined>; Returns attributes for a region's wrapper, for example { id, role: "tabpanel", "aria-labelledby" }.
shown
protected readonly shown: import("@angular/core").Signal<{
region: RegionEntry<R>;
attributes: Readonly<Record<string, string | null | undefined>> | undefined;
}[]>; No documentation.
ɵcmp
static ɵcmp: i0.ɵɵComponentDeclaration<RegionOutlets<any>, "runic-region-outlets", never, {
"collection": {
"alias": "collection";
"required": false;
"isSignal": true;
};
"registry": {
"alias": "registry";
"required": true;
"isSignal": true;
};
"missing": {
"alias": "missing";
"required": false;
"isSignal": true;
};
"mode": {
"alias": "mode";
"required": false;
"isSignal": true;
};
"panelProps": {
"alias": "panelProps";
"required": false;
"isSignal": true;
};
}, {}, never, [
"*"
], true, never>; No documentation.