function
developer preview
Create a Signal
that can be set or updated directly.
signal<T>(initialValue: T, options?: CreateSignalOptions<T>): WritableSignal<T>
initialValue | T | |
options | CreateSignalOptions<T> | Optional. Default is |
© 2010–2023 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.
https://angular.io/api/core/signal