RunicHostedRegion class

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

class RunicHostedRegion

A region where the host application shows a hosted guest's Window: the component's element is <runic-hosted-region> itself, and the page never gets a reference to its frame. Projected content shows while no guest page shows in the region; state() tells which state it is in: ```html <runic-hosted-region #check name="check" style="height: 420px" (stateChange)="onState($event)">

Constructors

constructor

constructor();

No documentation.

Properties

name

readonly name: import("@angular/core").InputSignal<string>;

The region's name, which the host application's policy embeds a guest's Window in.

sizing

readonly sizing: import("@angular/core").InputSignal<HostedRegionSizing | undefined>;

fill (the default): the page's layout sets the height. content-height: the guest's page does.

label

readonly label: import("@angular/core").InputSignal<string | undefined>;

The region's accessible name; without it, the guest page's title.

stateChange

readonly stateChange: import("@angular/core").OutputEmitterRef<HostedRegionStateChange>;

No documentation.

titleChange

readonly titleChange: import("@angular/core").OutputEmitterRef<string | null>;

The guest page's title as the host passed it on, or null.

state

readonly state: import("@angular/core").Signal<HostedRegionState>;

What the region shows now.

ɵfac

static ɵfac: i0.ɵɵFactoryDeclaration<RunicHostedRegion, never>;

No documentation.

ɵcmp

static ɵcmp: i0.ɵɵComponentDeclaration<RunicHostedRegion, "runic-hosted-region", [
    "runicHostedRegion"
], {
    "name": {
        "alias": "name";
        "required": true;
        "isSignal": true;
    };
    "sizing": {
        "alias": "sizing";
        "required": false;
        "isSignal": true;
    };
    "label": {
        "alias": "label";
        "required": false;
        "isSignal": true;
    };
}, {
    "stateChange": "stateChange";
    "titleChange": "titleChange";
}, never, [
    "*"
], true, never>;

No documentation.

Methods

stateChanged

protected stateChanged(event: Event): void;

No documentation.

titleChanged

protected titleChanged(event: Event): void;

No documentation.