0.10.* the modal (mail or tel) can be shown also without an
<a> element, but just with a
sms: URI as a parameter in a new function called
Here the definition of the function in TypeScript:
this function fires the render of mailgo modal with the link passed as a parameter.
You can use it, for example, in this way.
This code fires the mailgo modal on click on a button with
You can see more examples of this new features in the
examples folder of the mailgo repository or on https://examples.mailgo.dev/ (the repository of Mailgo examples is here: https://github.com/manzinello/mailgo-examples)