Options for mediaQuerySignal when using writeable overload.

interface MediaQueryWriteableSignalOptions {
    debugName?: string;
    injector?: Injector;
    manualDestroy?: boolean;
}

Hierarchy

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

Properties

debugName?: string

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

injector?: Injector

This is only necessary if called outside injector context and manualDestroy is not true.

manualDestroy?: boolean

Whether this will be destroyed manually instead of when the injection context is destroyed. If true, this signal does not have to be created in an injection context, and MediaQuerySignal.destroy should be called when or if it is time to release resources.