Add at the end of the
Alternatively, you can import mailgo in
Install mailgo with
then import it
and then you can call directly
to initialize mailgo in the page and substitute automatically all the
tel when a user clicks (
window object must be defined! If it's not so, please visit the SSR section).
BREAKING CHANGES from version 0.10.*: you can also use
but then you have to call
mailgo() function accepts also the configuration object
you can find more about it here.
Alternatively you can import directly the script that fires on
DOMContentLoaded event in this way:
Download the script here and add it your page in body or head
The dark mode is available through a configuration parameter (see more here) or substituting
You can also specify dark mode only for single modals, to do this see here.