-
Notifications
You must be signed in to change notification settings - Fork 0
@bynary.composables.storage.Function.bindStorage
github-actions[bot] edited this page Jul 11, 2024
·
3 revisions
@bynary/composables / @bynary/composables/storage / bindStorage
bindStorage<
T
>(key
,value
,options
?):T
• T extends WritableSignal
<undefined
| null
| string
>
• key: string
The key to use for the storage
• value: T
The signal to bind to the storage
• options?: IBindStorageOptions
A set of options for the storage
T
The passed in signal (value
parameter)