Preparing search index...
The search index is not available
@fingerprintjs/fingerprintjs-pro-svelte
@fingerprintjs/fingerprintjs-pro-svelte
useVisitorData
Function useVisitorData
use
Visitor
Data
<
TExtended
>
(
topLevelOptions
,
__namedParameters
?
)
:
UseGetVisitorDataResult
<
TExtended
>
API for fetching visitorData.
Type Parameters
TExtended
extends
boolean
Parameters
topLevelOptions
:
UseVisitorDataOptions
<
TExtended
>
Optional
__namedParameters
:
FpjsSvelteQueryOptions
Returns
UseGetVisitorDataResult
<
TExtended
>
Example: ```svelte <script> import { useVisitorData } from '@fingerprintjs/fingerprintjs-pro-svelte'; const { data, getData, isLoading, error } = useVisitorData( { extendedResult: true } ); // Fetch data on mount and ignore cache // const { data, getData, isLoading, error } = useVisitorData({ extendedResult: true, ignoreCache: true }, { immediate: true }) </script> ```
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
@fingerprintjs/fingerprintjs-pro-svelte
Loading...
Generated using
TypeDoc
API for fetching visitorData.