• Overview
@angular/core

signal

function

Create a Signal that can be set or updated directly.

  
    function signal<T>(  initialValue: T,  options?: CreateSignalOptions<T> | undefined): WritableSignal<T>;
  
  

Create a Signal that can be set or updated directly.

@paraminitialValueT
@paramoptionsCreateSignalOptions<T> | undefined
@returnsWritableSignal<T>
Jump to details