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