fpjsGetVisitorDataMixin: {
    data: (() => {
        visitorData: FpjsVisitorQueryData<false>;
    });
    methods: {
        $getVisitorData: FpjsGetVisitorDataMethod<any>;
    };
} = ...

Mixin for fetching normal visitorData

Type declaration

Example: ```vue <script> import { fpjsGetVisitorDataMixin } from '@fingerprintjs/fingerprintjs-pro-vue-v3'; //import { fpjsGetVisitorDataMixin } from '@fingerprintjs/fingerprintjs-pro-vue-v2'; export default { // Include our mixin mixins: [fpjsGetVisitorDataMixin], async mounted() { // You can also fetch data on mount // await this.$getVisitorData(); } }; </script> <template> <div> <button @click='$getVisitorData'> Get visitor data </button> <span v-if='visitorData.isLoading'> Loading... </span> <span v-else-if='visitorData.isError'> Error: {{ visitorData.error }} </span> <span v-else> <!--Do something with visitorData here--> </span> </div> </template> ```

Generated using TypeDoc