Last active
December 22, 2017 20:50
-
-
Save ovlb/91919d2109439a0111c06ea73abe3efa to your computer and use it in GitHub Desktop.
Facebook Pixel Demo – 1 – addEventListener
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this.$optOutButton.addEventListener(‘click’, (e) => { | |
// Verhindern, dass der Link irgendwohin linkt | |
e.preventDefault() | |
// Eigene Funktion, um den Opt Out-Status zu setzen | |
this.optOutController() | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment