...
This function removes an event listener registered with addEventListener. It is part of the IAB Europe Transparency and Consent Framework (TCF) Specifications.
...
argument name | type | optional | value | description |
---|---|---|---|---|
command | string |
| ||
version | integer | ✔️ |
| The TCF API version to use. Can be null instead. |
callback | function |
| The callback function that is called with the function call result. | |
parameter | integer |
| The unique ID assigned by the CMP to the registered callback via addEventListener) |
Description
An event listener registered with addEventListener returns tcData.listenerId
as an unique listener id, that can be passed to removeEventListener
to remove that listener again.
...
For usage, see examples from addEventListener.