# Changelog - fix typo in supressDnt to suppressDnt setting, - expose recordConsent and revokeConsent API calls, - expose Wide Angle API as `useWideAngle()` and remove obsolete `useWaaEvent` Reviewed-on: https://cloud.inputobjects.eu/forge/forge/wideangle/wideangle-nuxt/pulls/1 Co-authored-by: Jarek Rozanski <jrozanski@inputobjects.eu> Co-committed-by: Jarek Rozanski <jrozanski@inputobjects.eu>
11 lines
243 B
Vue
11 lines
243 B
Vue
<template>
|
|
<button @click="sendEvent">Send Event</button>
|
|
</template>
|
|
|
|
<script setup>
|
|
import { useWideAngle } from '#imports';
|
|
|
|
const sendEvent = () => {
|
|
useWideAngle().dispatchEvent('foo', {'param1': 'bar'}, {'value1': 123});
|
|
}
|
|
</script>
|