Options for mediaQuerySignal when generating values from another reactive source.

interface MediaQuerySignalOptions {
    debugName?: string;
    injector?: Injector;
}

Hierarchy

  • Pick<CreateSignalOptions<unknown>, "debugName">
    • MediaQuerySignalOptions

Properties

debugName?: string

A debug name for the signal. Used in Angular DevTools to identify the signal.

injector?: Injector

When passed another reactive source then this needs to be passed if outside injector context since this signal relies on effect.