InjectViewOptions interface

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

interface InjectViewOptions<TClient extends ViewClient>

No documentation.

Properties

injector

readonly injector?: Injector;

Required outside an injection context.

release

readonly release?: (client: TClient) => void;

Releases a client this helper connected. Defaults to client.dispose().

keepAlive

readonly keepAlive?: number;

Milliseconds a client this helper connected stays connected after the component unmounts or the source changes, for the next helper that follows the same reference (StrictMode, HMR, <Activity>, A→B→A navigation). 0 disposes it at once. Defaults to 2000. Read once, when the helper is created.